Reply to Re: Help with variable interpolation in WHER clause

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на 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

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