$q = explode("&",$_SERVER["QUERY_STRING"]);
foreach ($q as $qi)
{
if ($qi != "")
{
$qa = explode("=",$qi);
list ($key, $val) = $qa;
if ($val)
$$key = urldecode($val);
}
}
This code is similar to previous code but this one is for $_GET global variables. Good luck with your programming !!
Latest Video
Tuesday, March 4, 2008
Retrieve data from $_GET array
Labels: ajax, Retrieve PHP retrieve $_GET variables, Retrieve PHP Post variable, tutorial
Posted by ajax tutorial at 8:33 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment