note 73712 rejected from function.sprintf by philip
| From: | philip@php.net | Date: | Wed, 07 Mar 2007 17:33:31 +0000 |
| Subject: | note 73712 rejected from function.sprintf by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-124198@lists.php.net to get a copy of this message | ||
Note Submitter: andres
----
my query is:
$consulta=sprintf("SELECT * FROM interes WHERE interes like '%s%'",
mysql_real_escape_string($consu));
but when i see the query (mysql_query) it goes like this:
"SELECT * FROM interes WHERE interes like '/ $consu /'"