RE: [PHP] Error?

From: Date: Sun, 27 Oct 2002 16:43:06 +0000
Subject: RE: [PHP] Error?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-121599@lists.php.net to get a copy of this message
> > if($new) > { > $details = get_product_details($new); > if($details["catid"]) > $target = "show_cat.php?catid=".$details["catid"]; > //line 55 is the bracket below. > } > $path = $PHP_SELF; > $path = str_replace("show_cart.php", "", $path); > > > Error: > > Warning: Can only count STRING and INTEGER values! in > /www/u1255/shop_testing/show_cart.php on line 55 > > Any ideas? all I'm trying to do is pass a qty from a form? Maybe it's me, but shouldn't there be a { on or around this line: if($details["catid"]) ****? > $target = "show_cat.php?catid=".$details["catid"];

« previous php.general (#121599) next »