Re: SQL Query syntax error... Help?

From: Date: Sun, 15 Apr 2001 21:31:52 +0000
Subject: Re: SQL Query syntax error... Help?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-48655@lists.php.net to get a copy of this message
I "think" I tried that. Let me go try that again to be sure. Oh, and what's STDOUT ? I'm just getting started here and haven't even seen that yet :) I can't believe how fast the responses are either. Thanks to all for helping others out so quickly :) "Felix Kronlage" <fkr-ml@grummel.net> wrote in message news:20010415232649.A11407@mad... > On Sun, Apr 15, 2001 at 04:20:07PM -0500, Scott VanCaster wrote: > > > Any idea what my problem is? I removed the WHERE id=$id and it works, but > > updates every record of course :( > > Have you tried putting the $id in quotes too? > > | WHERE = '$id' > > if that doesn't help, print the sql-statement to STDOUT (e.g. probably to the > browser) and take a look at it, that way it is easier to see where the > error is. > > -fkr > -- > gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 > |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE > | > |all your base are belong to us | shame on me | fkr@IRCnet | > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#48655) next »