title: MySQL Database Specific Top (Amount)
body: <p>I recently began learning PHP, and I set up a MySQL Server. However, I'm not very familiar with SQL, and I would like to know, how would I get the top amount of results (amount as defined by _GET["Amount"] that all have the same EventType as defined by _GET["EventType"]?</p>
  
  <pre><code>&lt;?php
      $con=mysqli_connect(Info removed);
  if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }
  
  $Amount=$_GET["Amount"];
  $GetType=$_GET["Type"];
  $sql= ""; //How would I do the action outlined above?
  if (!mysqli_query($con,$sql))
  {
  die('Error: ' . mysqli_error($con));
  }
  echo "Done";
  mysqli_close($con);
  ?&gt;
  </code></pre>
  
  <p>I've looked over this site and others, to no avail. All help is greatly appreciated.</p>