Re: [NEWBIE] Escaping (') from strings

From: Artovil (artovil@arcanerealms.org)
Date: 09/01/01


At 16:46 2001-09-01 -0400, you wrote:
>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.

Well, I just assumed that those functions where called through the API and
the MySQL server, which could slow them down a little depending on the load
on the MySQL server, especially if I escaped a lot of string at the same
time, am I right?  That is why I wanted to make my own.  That would be
better, server load-wise, as well as performance-wise for the mud server,
am I right?

Kind regards,
/Artovil

--
   +---------------------------------------------------------------+
   | 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