0
$query = "SELECT * FROM fruits ORDER BY id DESC LIMIT $start, $limit";
$result = $dbh->query($query);

Is there anyway to make that SELECT statement more secure using PDO? Secure as in from SQL injections anything and everything that is possible. Thanks.

johnny880
  • 33
  • 6

0 Answers0