C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?

0 votes
53 views
asked by sara Guru (24,570 points)

1 Answer

0 votes
Mysql_fetch_array Fetch a result row as an associative array, a numeric array, or both. mysql_fetch_object ( resource result ) Returns an object with properties that correspond to the fetched row and moves the internal data pointer ahead. Returns an object with properties that correspond to the fetched row, or FALSE if there are no more rows   mysql_fetch_row() fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting  at offset 0.
answered by rajesh Guru (39,140 points)

Related questions

0 votes
0 answers 53 views
53 views asked by rajesh Guru (39,140 points)
0 votes
1 answer 20 views
0 votes
1 answer 37 views
0 votes
1 answer 10 views
10 views asked by sara Guru (24,570 points)
...