Explanded index.php to split query string into associative array