mysql_fetch_row()

This function fetches the next row from a result set. The function returns NULL if there are no more rows in the result set to retrieve or if an error occurs. Here is its syntax:

MYSQL_ROW mysql_fetch_row(MYSQL_RES *resultset)

Here, the resultset parameter is the set from which the next row has to be fetched. You can access values in the column of the row by using the subscript row[0], row[1], and so on, where row[0] represents the data in the first column, row[1] represents the data in the second column, and so on.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset