I am trying to build a url query with an associative array like this:
http://website.com/go.php?status=0&day=monday
Here is the my code but it only returns the word array.
$status = $_GET["status"];
$day= $_GET["day"] = array(
"monday" => "one",
"tuesday" => "two",
);
echo $status . " " . $day;
Use
$_GET['day']as the key to your array: