title: how to write a php variable on a mysql query
body: <p>I need to write my php variables correctly.</p>
  
  <pre><code>$query2 = mysqli_query($con,"SELECT * FROM palettes LIMIT '$starting_number, $palettes_per_page'");
  </code></pre>