Re: whats wrong in this program.
| From: | Jordan Miller | Date: | Wed, 14 Sep 2005 16:00:47 +0000 |
| Subject: | Re: whats wrong in this program. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222405@lists.php.net to get a copy of this message | ||
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). JordanOn 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