Re: [NEWBIE] Escaping (') from strings

From: Mike Stilson (mike@c746148-a.ehlls1.pa.home.com)
Date: 09/01/01


On Sat, Sep 01, 2001 at 10:07:07PM +0200, Artovil wrote:
>Can anyone please help me out a little?  I am currently putting in MySQL
>into my mud,

been there, done that.

>when I save down
>stuff the queries fubar since I haven't escaped (').  If some kind soul out

Did you bother with mysql_escape()?

>I don't know how to do it properly.

see the texinfo on that function.


-me

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST