Thanks! mysql_fetch_assoc did the trick. At 07:08 3/25/2004, Ryszard Hapka wrote: >not only foreach ;) > >$r = mysql_query("select * from table"); >while($t = mysql_fetch_assoc($r)) { // or while ($t = >mysql_fetch_array($r)) <-- you will see difrends > foreach($t as $key => $value) { > echo "[".$key."] ".$value ."<br />"; > } > echo "<hr />"; Start Here to Find It Fast!? -> http://www.US-Webmasters.com/best-start-page/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php