Build Your Own DatabaseDriven Website Using PHP amp;amp; MySQL [Electronic resources]

Kevin Yank

نسخه متنی -صفحه : 190/ 146
نمايش فراداده

mysql_fetch_object

mysql_fetch_object(result_id)

This function returns the next result row from result_id in the form of an object, and advances the internal row pointer of the result set to the next row. Column values for the row become accessible as named properties of the object (e.g. $row->user for the value of the user field in the $row object).