Re: mysql question

From: Date: Sun, 10 Feb 2008 17:52:15 +0000
Subject: Re: mysql question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269041@lists.php.net to get a copy of this message
nihilism machine wrote: > $ret = mysql_result($r, 0); > mysql_free_result($r); > if ($this->auto_slashes) return stripslashes($ret); > else return $ret; > } > > > what is $ret, an array? No, it's a mysql result object. > if so how can i access the individual rows in it? Look up mysql_fetch_assoc(). /Per Jessen, Zürich

« previous php.general (#269041) next »