Thank you MadMyche, the only thing left is now to transfer the query with PDO param substitution? Anyone around to advise how to use PARAM binding in the above query please.
Here what i got and definately it would be helpful for others.
please vote if BINDING below is helpful to you.
$stmt = $db->prepare("SELECT a,b,c FROM employees ORDER BY emp_no DESC LIMIT ?,?");
$stmt->bindParam(1, $start,PDO::PARAM_INT);
$stmt->bindParam(2, $end,PDO::PARAM_INT);
$stmt->execute();
$data = $stmt->fetchAll();
If anyone have a better suggestion, please comment.