Reply to Re: Help with variable interpolation in WHER clause
Posted by Alan Little on 05/19/06 04:17
Carved in mystic runes upon the very living rock, the last words of
Jerry Stuckle of comp.lang.php make plain:
> Alan Little wrote:
>>
>> And don't forget to enclose the value in single quotes within the
>> query:
>>
>> "...WHERE GRP = '$w'";
>
> Only if it's non-numeric.
In his example it was "exec".
Plus what Andy said.
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/