On Friday 19 July 2002 01:19, Martin Clifford wrote:
> Try this:
>
> while($row = mysql_fetch_assoc($result)) {
> // code here
> }
>
> This way, the resulting array will ONLY be associative.
For some unknown reason the OP specifically does not want to use
mysql_fetch_assoc()!
> I'm using mysql_fetch_array() and I want to foreach only the assoc. part of
> the array without using mysql_fetch_assoc():
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
People are beginning to notice you. Try dressing before you leave the house.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php