a general perl like pares of the query string...

From: Date: Sat, 08 Sep 2001 08:52:20 +0000
Subject: a general perl like pares of the query string...
Groups: php.general 
Request: Send a blank email to php-general+get-66519@lists.php.net to get a copy of this message
Ok if you have a query string from like file.php?bob=manager&phil=employ how do i split the bob=manager and phil=employ dynamically? because i may have 2 or 3 elements and i just want to sepearte them all and access them via an array such as if ($var["bob"] = "manager") etc.... so a loop that would parse the & and also the = signs.... appreciate the help

« previous php.general (#66519) next »