What is the best way that I can pass an array as a url parameter? I was thinking if this is possible:
$aValues = array(); $url = \'http://www.example.com?a
**in create url page** $data = array( 'car' => 'Suzuki', 'Model' => '1976' ); $query = http_build_query(array('myArray' => $data)); $url=urlencode($query); echo" Send "; **in received page** parse_str($_GET['data']); echo $myArray['car']; echo ''; echo $myArray['model'];
Send