$query = 'SELECT ROW FROM TABLE LIMIT' . $start . ', ' . $limit;
The $start and $limit are user input, so I think it may be injected by inputting something like: 1;CREATE DATABASE A;
for $start, which would create a new database 'A'. What will be the best practice to prevent that? Please be specific, including example code will be nice.