> ie - i have:
> while($myrow=mysql_fetch_array($result)) { etc...
>
> But i want the loop to run with an array i created earlier ($anotherarray =
> [key1] => value1, [key2] => value2).
>
use foreach($anotherarray as $key => $value) { .....
A Nawroth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

