MySQL LIKE and LIMIT
I am trying to select stuff from a database with the LIKE statement, but I
would also like to LIMIT the amount of records I get out of it.
$query = mysqli_query($connect, "SELECT * FROM proizvodi WHERE `naziv`
LIKE %127% AND LIMIT $start, $per_page");
The code I have is a boolean, and is not working. How to fix this?
No comments:
Post a Comment