How can I make multiple queries in mysql. I am trying to make sure that the latest entry from the database gets emailed. I have the php emailing the entry with no problems but if the email matches the an entry that is alredy there it will email the old one. Here is what I have

$result = mysql_query("SELECT * FROM gallery_photos  WHERE Email='$email'") or die(mysql_error());  

$row = mysql_fetch_array( $result ) ;
$imageplace = $row['Path'];
$imageName =  $row['photo_id'].".jpg";
$stones = $row['Stone'];

As you can see it is only making sure that the email inputed is the same as the email in the DB but it is not checking to see if its the latest.:thumb2: