note 81794 deleted from function.implode by nlopess

From: Date: Thu, 13 Mar 2008 19:56:17 +0000
Subject: note 81794 deleted from function.implode by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137036@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 (#137036) next »