Hi all, I’m guessing I’ve missed something minor out but I my search doesn’t appear to want to work. The results are in the database as when I search in PHPMyAdmin the results display. My connection is also working.
<?php
require('includes/connection.php');
$search = "SELECT * FROM 'customers' WHERE 'c_firstname' LIKE '%coxdabd%'";
while ($searchnow = mysql_fetch_array($search)){
echo '<div class="searchRes">Hello</div>';
}
echo "Hello World";
?>