Whatabout : mysql_fetch_array() or mysql_fetch_object()
Both gives you both the results and the names of the coloumns. Maby I didnt get the question right but since nobody else mentioned it, .) -- -- Kim Steinhaug ---------------------------------------------------------------------- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. ---------------------------------------------------------------------- www.steinhaug.com - www.easywebshop.no - www.webkitpro.com ---------------------------------------------------------------------- "Gerben" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > when I call mysql_fetch_row() I get an array, but this Array doesn't have > the fieldnames as array-keys. > I've seen several codes from others where they use something like > > print $row['key']; > > This doesn't work on my server. Is this because my server-software is too > old or am I using the wrong function? > PHP Version 4.3.4 > mySQL version: 3.23.54 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php