Re: mysql functions

From: Date: Tue, 10 Feb 2004 13:35:30 +0000
Subject: Re: mysql functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177279@lists.php.net to get a copy of this message
From: "Angelo Zanetti" <binc2@ctech.ac.za> > I have a query which returns only 1 row, which of the following would be the > best to get the value from the resultset: > > mysql_result() > mysql_fetch_field() > mysql_fetch_row() > > the resultset only returns 1 column, so basically its only 1 field i get > from the resultset. mysql_result($result,0) ---John Holmes...

« previous php.general (#177279) next »