note 81795 rejected from function.implode by felipe

From: Date: Sun, 16 Mar 2008 11:27:55 +0000
Subject: note 81795 rejected from function.implode by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137099@lists.php.net to get a copy of this message
Note Submitter: grimborg at gmail dot com ---- To implode a map, for example, to construct a http get request from a parameters array: $params = array ('param1' => 'value1', 'param2' => 'value2'); for($url = 'mysite.com/?'; list($key, $value) = each($params); $url .= "$key=$value&");

« previous php.notes (#137099) next »