Re: Mysql fetch_row()

From: Date: Sun, 20 Jun 2004 23:08:09 +0000
Subject: Re: Mysql fetch_row()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188707@lists.php.net to get a copy of this message
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" <gerbendekeijzer@12move.nl> wrote in message news:20040620170525.85393.qmail@pb1.pair.com... > 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

« previous php.general (#188707) next »