$qry = " select * from tempcart where php_session_id='$php_session_id' ";
$result = mssql_query($qry);
$numrow = mssql_num_rows($result);
$tot_p=0;
$subtotal = 0;
if($numrow>0)
{
?>
|
|
Product |
Price |
Quantity |
Total |
while($data = mssql_fetch_array($result))
{
$tot_p++;
//$book_detail_url = site_url().'/book?book_id='.$data['rate_id'];
$book_detail_url = 'javascript:void(0)';
?>
|
×
|
|
|
₹ |
1
|
₹ 0 |
$subtotal += ($data['price']*$data['qty']); }
?>
}else{?>
Shoping cart is empty.
} ?>