RE: [PHP] I'm back :-))
| From: | John W. Holmes | Date: | Sun, 27 Apr 2003 23:18:35 +0000 |
| Subject: | RE: [PHP] I'm back :-)) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145455@lists.php.net to get a copy of this message | ||
> I know you must have missed me so came back with a new problem :-D.
Yay... look, I'm shaking.
> 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.",country='"
.$
> 8.
>
"',email='".$9."',phone=".$10.",total=".$13.",product_id=".$14.",product
_d
> es
>
> cription='".$16."',user='".$17."',pass='".$18."'
> where user='".$u."'
and
> pass='".$p."'";
>
> If you want the whole page I can send it over...
No need. You can't have variable names that start with a number. Clearly
explained in the manual if you care to read it some day.
> 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! :-)
I write for PHP|Architect, check that out. www.phparch.com. Anyone can
answer most of the questions on this list if they've read the manual.
---John Holmes...