my code is not working because it says the row is undefined i dont know what is the problem is?
and my code is
echo '<div class="col-md-6">';
$ImageLocation = $row['ImageLocation'];
echo '<img alt="100%x280" style="height: 699px; width: 433px; display: block;" src="'.$ImageLocation.'" data-holder-rendered="true">';
echo '</div>';
echo '<div class=col-md-6>';
echo '<form method="post" action="book.php?action=add&code='.$id.'">';
// echo '<img src = "'.$ImageLocation.'">';
echo '<p class="card-text">'.$row['Description'].'</p>';
//echo '<p class="card-text">'.$row['Price'].'</p>';
echo '<h3>Rs. '.$row['Price'].'</h3>';
echo '<input type="hidden" name="hidden_quantity" value="1"/>';
echo '<input type="hidden" name="hidden_price" value="'.$row['Price'].'" />';
echo '<input type="hidden" name="hidden_product_name" value="'.$row['ProductName'].'" />';
echo '<input type="submit" class="btn btn-info" value="ADD TO CART">';
echo'</form>';
echo '</div>';
//echo '</div>';