Originally Posted by Thuita Maina
What's wrong with this php statement?
$sql="SELECT Title, Post, Date FROM entries WHERE Title LIKE '%" . $name . "%' OR Post LIKE '%" . $name ."%' OR Date LIKE '%" . $name ."%'LIMIT $startResults, $resultsPerPage";
oooohh this is like pin the tail on the donkey...
erm no space before the LIMIT is my guess...