Posted by Andy Jeffries on 05/18/06 23:22
On Thu, 18 May 2006 20:20:14 +0000, Andy Jeffries wrote:
>>> And don't forget to enclose the value in single quotes within the
>>> query:
>>>
>>> "...WHERE GRP = '$w'";
>>>
>> Only if it's non-numeric.
>
> It's actually a good idea to do it even if the field is non-numeric.
I mean "is numeric" there, I guess it's obvious from the rest of the post,
but hey I'm a programmer I have to try and correct my mistakes... :-)
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
[Back to original message]
|