Blicke bei dieser Code Zeile nicht durch:
wofür stehen das Komma, das Fragezeichen und der Doppelpunkt ? Hab sowas vorher noch nicht gesehen!
Danke.
Code:
switch ($HTTP_GET_VARS['action']){
case 'update_product' :
for ($i=0, $n=sizeof($HTTP_POST_VARS['products_id']); $i<$n; $i++){
if (in_array($HTTP_POST_VARS['products_id'][$i], is_array($HTTP_POST_VARS['cart_delete']) ? $HTTP_POST_VARS['cart_delete'] : array()))) {
$cart->remove($HTTP_POST_VARS['products_id'][$i]);
}...
Danke.

Kommentar