RE: [PHP] php, mySQL query character problem
| From: | Jay Blanchard | Date: | Wed, 22 Sep 2004 18:25:15 +0000 |
| Subject: | RE: [PHP] php, mySQL query character problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197597@lists.php.net to get a copy of this message | ||
[snip]
$query = "select * from table1 where colum1 like '$email%'";
$returnValue = QueryDatabase($query);
echo mysql_num_rows($returnValue);
I always get 0 for the # of records.
[/snip]
You have not included the code from your QueryDatabase function....so we
would have to have a crystal ball to discern the answer