The syntax is: void parse_str (string string) <? $url = "fname=wj&lname=gore&zip=43210"; parse_str($url); ?>