>
> 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"];
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php