note 99825 deleted from book.array by danbrown
| From: | danbrown@php.net | Date: | Tue, 01 Mar 2011 19:55:19 +0000 |
| Subject: | note 99825 deleted from book.array by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177457@lists.php.net to get a copy of this message | ||
Note Submitter: v-2osel at live dot com
----
if you need to pass information using querystring like this
..yourProgram.php?value1=value&value2=value&value3=value, you can create a variable for each
value keys and make it equal to the value.. here's the code
<?php
$qs = explode('&',$_SERVER['QUERY_STRING']);
foreach($qs as $key=>$value)
{
$temp = explode('=',$value);
${current($temp)} = end($temp);
}
?>