RE: [PHP] PHP commands and HTML combobox
| From: | Sandeep Murphy | Date: | Fri, 01 Feb 2002 15:01:57 +0000 |
| Subject: | RE: [PHP] PHP commands and HTML combobox | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83129@lists.php.net to get a copy of this message | ||
Hi,
Is there any way I can construct an associative array out of 3 other
arrays??
like for eg.
function parse() {
appid[];
appnm[];
url[];
}
I want to do something like this:
function arr() {
$applist = array("APPID" =>$appid,
"APP NAME"=>$appnm,
"URL" =>$url);
foreach($applist as $valor)
echo $key . $valor;
}
wud appreciate any help..
TIA,
sands