コード例 #1
0
ファイル: cart.php プロジェクト: ananyo2012/E-Commerce
          <tr>
            <td height="46" colspan="6"><div align="center" class="style3"> 
              <div align="left">CART(<?php 
echo $count;
?>
)</div>
            </div></td>
          </tr>
          <tr>
            <td width="251" height="31"><div align="center" class="style7">ITEM</div></td>
            <td width="76"><div align="center" class="style7">QUANTITY</div></td>
            <td width="72"><div align="center" class="style7">PRICE</div></td>
            <td colspan="2"><div align="center" class="style7">SUBTOTAL</div></td>
          </tr>
		  <?php 
$res = $obj->getitems();
while ($arr = mysql_fetch_row($res)) {
    $price = $obj->getprice($arr[0]);
    $img = $obj->getimage($arr[0]);
    $company_id = $obj->getcompany($arr[0]);
    $company = $obj->companyname($company_id);
    ?>
          <tr>
            <td height="31"><img src="uploaded_files/<?php 
    echo $img;
    ?>
" width="93" height="95" alt="photo 1" class="left"><span class="style9"><?php 
    echo $company . "&nbsp;" . $arr[0];
    ?>
</span></td>
			<form action="update.php" method="post" name="f1" target="f1">