title: SQL Query is not working with limit
body: <p>I tried to run this query but it keep fails. Anyone know which part is wrong?</p>
  
  <pre><code>$query = "Select * FROM trade WHERE category = :categoryID order by id DESC limit :startID, 5";
  
  $query_params = array(
      ':categoryID' =&gt; $_POST['categoryID'],
      ':startID' =&gt; $_POST['startID']
  );
  
  
  //execute query
  try {
      $stmt   = $db-&gt;prepare($query);
      $result = $stmt-&gt;execute($query_params);
  }
  catch (PDOException $ex) {
      $response["success"] = 0;
      $response["message"] = "Database Error!";
      die(json_encode($response));
  }
  </code></pre>