NYCPHP Meetup

NYPHP.org

[nycphp-talk] Escaping special character like *, + in sql where clause

Sumithra S.Nair sumisudhir at snet.net
Fri Oct 8 16:24:03 EDT 2004


Hi,
 
   How can I escape these characters in the sql where clause. 
 
Select * from table1 where name like 'John smith*'.
 
The * is part of the name itself.
 
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20041008/dd373920/attachment.html>


More information about the talk mailing list