You are here: Re: [PHP] whats wrong in this program. « PHP « IT news, forums, messages
Re: [PHP] whats wrong in this program.

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
>
>
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация