Re: I'm back :-))
| From: | Ryan A | Date: | Mon, 28 Apr 2003 00:59:45 +0000 |
| Subject: | Re: I'm back :-)) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145459@lists.php.net to get a copy of this message | ||
Hey,
Thanks for writing.
Yep, I did have my suspicions when I was creating it if plain numbers were
allowed but I guess I took it for granted.
And yes, I have not read the manual from cover to cover, I basically skipped
chapters just to the parts that i need for any program that i am working on
and from there learn the basics of php...and make a lot of "boo boos" :-d
Will rename the variables.
Cheers,
-Ryan
P.S John, will check out that site later.
----- Original Message -----
From: "John W. Holmes" <holmes072000@charter.net>
To: "'Ryan A'" <ryan@jumac.com>; <php-general@lists.php.net>
Sent: Monday, April 28, 2003 1:18 AM
Subject: RE: [PHP] I'm back :-))
> > 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...
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>