bakit po ganyan??

Code:
<div class="container" style="width:70%;">
<h2 align="center">Photo/Video Shop</h2>
<?php
$query = "SELECT * FROM products ORDER BY id ASC";
$result = mysqli_query($connect, $query);
if(mysqli_num_rows($result) > 0)
{
while($row = mysqli_fetch_array($result))
{
?>
<div class="col-md-3">
<form method="post" action="shop.php?action=add&id=<?php echo $row["id"]; ?>">
<div style="border: 1px solid #eaeaec; margin: -1px 19px 3px -1px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); padding:10px;" align="center">
<img src="<?php echo $row["image"]; ?>" class="img-responsive">
<h5 class="text-info"><?php echo $row["p_name"]; ?></h5>
<h5 class="text-default">Description:<?php echo $row["description"]; ?>
<h5 class="text-danger">Php<?php echo $row["price"]; ?></h5></h5>
<input type="text" name="quantity" class="form-control" value="" placeholder="Enter Quantity"><script>
if (quantity)
</script>
<input type="hidden" name="hidden_name" value="<?php echo $row["p_name"]; ?>">
<input type="hidden" name="hidden_price" value="<?php echo $row["price"]; ?>">
<input type="submit" name="add" style="margin-top:5px;" class="btn btn-warning" value="Add to Cart">
<!--Another row of camsss-->
</div>
</form>
</div>
