Ya, except I want the whole array to exist (index and assoc. array), not
just the assoc. array.  So, for the time being, I'll just do this:

foreach ($arr as $key=>$value) { 
  if ( !is_int($key) ) { echo "$key:$value"; }

What is HTH ??

Henning Sittler

Try this:

while($row = mysql_fetch_assoc($result)) {
    // code here

This way, the resulting array will ONLY be associative.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to