如何在mysql数据库中显示图像和描述

I am trying to show an image then a description under the image. I get the image show but I'm stuck with the description. I can't get that working.
Below my code to show the image and description

    // Get images from the database
$query = $db->query("SELECT * FROM images ORDER BY uploaded_on DESC");
$description = $db->query("SELECT * FROM description ORDER BY uploaded_on  DESC");    

if($query->num_rows > 0){
    while($row = $query->fetch_assoc()){
        $imageURL = 'upload/'.$row["file_name"];

?>

    <center><img src="<?php echo $imageURL; ?>" alt="" /><br><p><?php      echo $description; ?></p></center>
<?php }
}else{ ?>
    <p>No image(s) found...</p>
<?php } ?>