ting is what I was expecting for the
code below)
Thanks again
Jamie Smith
CODE follows
init();
header("Location: $HTTP_REFERER");
break;
case "add" :
$MYSESSION["cart"]->add($item_code, $form_qty, $option);
default:
?>
CODE :
Option:
I need to pass a array through a url.
Currently I'm assigning the array to the url like so
http://localhost/dir/page.php?checkbox_array=$checkbox_array
but when I want to sort through the array on the recieved page it is not possible
because the array seems to have been replaced with the string
I need to pass a array through a url.
Currently I'm assigning the array to the url like so
http://localhost/dir/page.php?checkbox_array=$checkbox_array
but when I want to sort through the array on the recieved page it is not possible
because the array seems to have been replaced with the string
Thanks to all the replies to my previous email on arrays (passing arrays through URLs)
but I cannot seem to get serialize() to work correctly so I'm now trying to echo out
the array as a series of hidden elements in a form that when submitted will re-build
the array.
I've been driving myself ma
4 matches
Mail list logo