<?php echo $product->product_short_details; ?> </p> </div> </div> <div id="markets" style="display:inline-block; vertical-align:top; margin-top:30px;width:300px;"> <h3>Please Select Market</h3> <form action="product.php?p=<?php echo $product->product_id; ?> " method="post"> <?php $markets = $product->getMarkets(); foreach ($markets as $market) { ?> <div class="market_pr" > <div class="market_name"><?php echo $market->market_name; ?> </div> <div class="price">Rs. <?php echo $product->getMarketPrice($market->market_id); ?> </div> <br> <div class="details">Details : <?php echo $market->market_details; ?>