On Sun, February 10, 2008 11:52 am, Per Jessen wrote: > 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. No, it's a single field value from the database. $r is the result object. http://php.net/mysql_result -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php