购物车上的PHP未定义错误

时间:2014-04-18 07:41:55

标签: php session shopping-cart cart shopping

<?php

    if(is_array($_SESSION['firmasistemisepet'])){
        $fastx=1;
        foreach($_SESSION['firmasistemisepet'] as $icerikp){
            $icx=explode('|||',$icerikp);
            echo '<tr id="shopping_cart_items_product'.$icx[0].'">
                <td>'.$icx[4].'</td>
                <td>'.$icx[1].'</td>
                <td>'.$icx[2].' </td>
<td>'.$icx[3].' </td>
                <td><a href="javascript:void(0);" onclick="removeProductFromBasket('.$icx[0].');"><img src="remove.gif" alt="" border="0" /></a></td>';
        }
        $fastx=1;
    }
?>

pastebin:http://pastebin.com/1MfmVmyP

图片:https://lh6.googleusercontent.com/-hry1uEugPww/U1ATZ3gmwfI/AAAAAAAAAsQ/gv1EI3wZgiY/w346-h206/undefined.png

0 个答案:

没有答案