RE: [PHP] I'm back :-))

From: Date: Sun, 27 Apr 2003 23:23:28 +0000
Subject: RE: [PHP] I'm back :-))
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145456@lists.php.net to get a copy of this message
hey ryan, look at your variable names... from the php.net documentation: Chapter 8. Variables Basics [snip] A valid variable name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. you can't have variables named $1, $17, etc... HTH, jack > -----Original Message----- > From: Ryan A [mailto:ryan@jumac.com] > Sent: Sunday, April 27, 2003 7:10 PM > To: php-general@lists.php.net > Subject: [PHP] I'm back :-)) > > > Hello again everyone, > I know you must have missed me so came back with a new problem :-D. > > This is giving me an error, I have looked at it for 20 mins and > cant find a > damn thing thats wrong, the comma's are correct, the quotes are > correct, the > variable names are correct but it still gives me: > > Parse error: parse error, unexpected T_DNUMBER, expecting > T_VARIABLE or '$' > in /home/coinpass/public...... > > Heres the lines: > > $query = "update ".$tcname." set > > date='".$0."',time='".$1."',order_number=".$2.",card_holder_name=' > ".$3."',st > > reet_address='".$4."',city='".$5."',state='".$6."',zip=".$7.",coun > try='".$8. > > "',email='".$9."',phone=".$10.",total=".$13.",product_id=".$14.",p > roduct_des > > cription='".$16."',user='".$17."',pass='".$18."' > where user='".$u."' and > pass='".$p."'"; > > If you want the whole page I can send it over... > > > Private message to John Holmes: > Dude, you must be a guy in PHP or something, as far back as I can remember > you are answering problems and you answer nearly all posts....belive me if > you write a book i'll buy! :-) > > Cheers, > -Ryan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#145456) next »