Posted by Peter van Schie on 11/24/88 11:27
wgerry wrote:
> //$query = 'SELECT * FROM `arrow` WHERE `Surname`LIKE \"%trimmed%\" ;
Should be something like:
$query = 'SELECT * FROM arrow WHERE Surname LIKE "%' . $trimmed . '%"';
> $results= mysql_query($query);
> $numrows= mysql_numrows($results);
Should be:
$numrows = mysql_num_rows($results);
HTH.
Peter.
--
http://www.phpforums.nl
Navigation:
[Reply to this message]
|