List:MySQL++« Previous MessageNext Message »
From:Jay Rajput Date:July 20 2009 7:09pm
Subject:Re: Escape %
View as plain text  
If you are looking for something to escape your SQLs, you can use these:

*  Query::mysql_escape_string
*  quote and quote_only


On Mon, Jul 20, 2009 at 3:03 PM, Steven Davis <bitphire@stripped> wrote:

> I have a query string with the " WHERE phone_1 LIKE '%" + phone + "%'";   I
> want to say that it is treating it like a %1 variable and wondering if
> there
> was a way to escape it so it won't. I can seem to find it in the user
> manual
> on how to do this but I could be over looking it. Thanks.

Escape %Steven Davis20 Jul
  • Re: Escape %Jay Rajput20 Jul
  • Re: Escape %Warren Young20 Jul