|
Posted by Jordan Miller on 09/14/05 19:00
heh, i did it too.
> John,
>
> oh, good to know, thanks. $final should be composed of strings, not
> integers, so i guess that is his problem. i just read that it is
> best to quote every variable, now I know why... so you can change
> implementations later and not have to worry about types (and php's
> autotyping is so great anyway).
>
> Jordan
>
On Sep 14, 2005, at 10:54 AM, John Nichel wrote:
> Jordan Miller wrote:
>
>> you need single quotes around $subnum in the sql statement. don't
>> know why you seem to be arbitrarily leaving them off (put them
>> around $uv and $duration, too!).
>>
> <snip>
>
> It's not needed if those fields are integers.
>
> *damnit, that's twice today I've replied to the poster and not the
> list.
>
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> john@kegworks.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
[Back to original message]
|