try...
$z = array('foo' => array('bar'), 'dis' => array('dat'));
foreach($z as $key => $value)
{
echo "$key <br> $value[0] </p>";
}
graeme.
Yemi Obembe wrote:
Hi folks.
wat can be done to dis:
$z = array('foo' => array('bar')), 'dis' => array('dat'));
foreach(//???) {
echo "//??? <br> //?? </p>";
}
to output dis:
foo
bar
dis
dat
---------------------------------
A passion till tomorrow,
Opeyemi Obembe | ng.clawz.com
---------------------------------
Do you Yahoo!?
The all-new My Yahoo! – What will yours do?
--
Experience is a good teacher, but she sends in terrific bills.
Minna Antrim
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php