Search found 12 matches

by jacquesy
Mon Feb 10, 2003 2:29 pm
Forum: PHP coding => General
Topic: splitting variables??
Replies: 8
Views: 2253

No still not working Tony, it's very odd!
by jacquesy
Mon Feb 10, 2003 2:28 pm
Forum: PHP coding => General
Topic: Please help, drag additional value from mysql
Replies: 1
Views: 813

Please help, drag additional value from mysql

Ok, heres the problem. I have a dropdown list that drags my model names from my database into it: $Query = "SELECT * FROM model"; $Result = mysql_db_query ($DBName, $Query, $Link); print ("<form method='get' action='$self'>"); print ("<select name='model' $form_pres>"); print ("<option selected valu...
by jacquesy
Mon Feb 10, 2003 11:10 am
Forum: PHP coding => General
Topic: splitting variables??
Replies: 8
Views: 2253

these do not seem to work, I get the error message:

Compilation failed: nothing to repeat at offset 0

What does this mean?

thnaks.
by jacquesy
Sun Feb 09, 2003 10:55 am
Forum: PHP coding => General
Topic: Advanced php forms??
Replies: 3
Views: 1137

Advanced php forms??

I want to create a form that when a yes or no option in a list element is selected the page automatically adds another option list next to with more options to pick. This must work so that all of the cvalues entered previously into the form stay there. In theory the form will refresh jsu tone part o...
by jacquesy
Sun Feb 09, 2003 5:07 am
Forum: PHP coding => General
Topic: PHP local problem
Replies: 1
Views: 711

PHP local problem

I'm working on a php project, my remote server is setup differently to my local server in that it doesn't pass variables using $man = $_REQUEST["man"]; so each time I upload I have to comment these out. How to I change my local settings to match my remote settings in this specific instance? I have b...
by jacquesy
Sun Feb 09, 2003 4:53 am
Forum: PHP coding => General
Topic: splitting variables??
Replies: 8
Views: 2253

ok, this work very nice, thanks!

How would I do this to cut off the image name so that I just get .gif?

Thanks.
by jacquesy
Fri Feb 07, 2003 8:51 am
Forum: PHP coding => General
Topic: splitting variables??
Replies: 8
Views: 2253

splitting variables??

I have a php variable:

$image_name = "image.gif";

which comes out of the database.

I want to display this variable on the page but taking away the .gif at the end to just show the image name.

Is this possible?

Thanks!
by jacquesy
Tue Feb 04, 2003 2:22 pm
Forum: PHP coding => General
Topic: mysql_fetch_row()
Replies: 1
Views: 704

mysql_fetch_row()

I am bringing records from a database to my page using mysql_fetch_row() to display a top 5 list. The problem is I want to print out the postion at the start of each line, i.e. 1. some-name 2. some-name 3. some-name 4. some-name 5. some-name I can't work out how to do this using while as it will pri...
by jacquesy
Tue Feb 04, 2003 1:28 pm
Forum: PHP coding => General
Topic: Email address checker??
Replies: 1
Views: 720

Email address checker??

I have a html form page that passes over an email value to a php page.

How do I check the email address so as it fits with the set email rules, i.e. an @ character?? If it doesn't I want to echo an error message.

Thanks!
by jacquesy
Sat Jan 25, 2003 6:06 am
Forum: PHP coding => General
Topic: php form problem
Replies: 0
Views: 757

php form problem

I'm using a php page to display values on a database. The form action is itself (php_self). It's working ok except for when the page is first viewed the error message: PHP Notice: Undefined index: manufacturer..... I think this is because the manufacturer doesn't have a value until the form is submi...
by jacquesy
Wed Jan 22, 2003 9:08 am
Forum: PHP coding => General
Topic: PHP upload problem
Replies: 1
Views: 859

PHP upload problem

Hi, I have a PHP file that simply inserts records into my database and then another PHP file that simply reads and outputs these values. Locally all is working fine, i'm using the latest version of PHP, MYSql and IIS but when I upload them problems occur: 1. When I insert a value to the database it ...
by jacquesy
Tue Jan 21, 2003 2:48 pm
Forum: PHP coding => General
Topic: should be simple: PHP_SELF undefined index
Replies: 2
Views: 1020

should be simple: PHP_SELF undefined index

I'm a new PHP developer and am trying to develop my application using best practise programming techniques. I am creating an admin area whereby I have a page to modify the contects of a table, I am using PHP_SELF when the new details are submitted but when I am submitting I recieve the following err...