any error?
| From: | Ami Choksi | Date: | Mon, 04 Sep 2000 19:37:18 +0000 |
| Subject: | any error? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15089@lists.php.net to get a copy of this message | ||
Hello,
I am using the follwing code.
<?php
function list_array ($array) {
while (list ($key, $value) = each ($array)) {
$str .= "<b>$key:</b> $value<br>\n";
}
return $str;
}
echo "$HTTP_USER_AGENT<hr>\n";
$browser = get_browser();
echo list_array ((array) $browser);
?>
It displays only for $HTTP_USER_AGENT and 0: afterwords. Nothing else.
Any error is there?
--
Miss Ami Tusharkant Choksi
Software Engineer
Worldgate Networks Pvt. Ltd. (ISP)
206, Trividh Chambers,
Ring Road,
Surat - 395 002.
Gujarat.
India.
6/1937, Jadakhadi,
C/O Navin Cricket Stores
Mahidharpura,
Surat - 395 003.