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
52 views
asked Jan 2, 2014 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 Jan 2, 2014 by rajesh Guru (39,140 points)

Related questions

0 votes
1 answer 4,204 views
0 votes
0 answers 52 views
52 views asked Jan 1, 2014 by rajesh Guru (39,140 points)
0 votes
1 answer 19 views
0 votes
1 answer 34 views
34 views asked Jan 9, 2014 by keem Expert (13,240 points)
0 votes
1 answer 8 views
8 views asked Jan 1, 2014 by sara Guru (24,570 points)
...