I checked everything but given my less than 1 month using PHP i can’t seem to get to the bottom of this. Whenever i use this $sql query it gives me the error:
//$startrow is variable
$startrow = 0;
$sql = "SELECT `accounts.full_name`, `image.name` FROM `accounts` LEFT JOIN
`image` ON `accounts.person_id` = `image.person_id` WHERE
`accounts.image_set` = '$yes' and `accounts.full_name` LIKE '%$q%'
LIMIT $startrow, 15";
You don’t have a table called
image. Your table is calledface_shot.Also, your backticks must surround each part of the name (not the including dot). Or you can omit the backticks completely except for reserved words.