Re: Re: array block
| From: | Jason Wong | Date: | Sat, 31 Jan 2004 08:22:16 +0000 |
| Subject: | Re: Re: array block | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176451@lists.php.net to get a copy of this message | ||
On Saturday 31 January 2004 11:48, Shawn McKenzie wrote:
> You would need to give an example of what you mean by change dynamically,
> because if you can't predict the key indexes then how can you know which
> ones to use in your anchor tag?
foreach ($arr as $key => $value) {
echo "Key: $key; Value: $value<br>\n";
}
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
If your attack is going really well, it's an ambush
-- Murphy's Military Laws n47
*/