Differences between mysql_fetch_object(), mysql_fetch_row() ?

shophia

Member
Registered
Joined
Mar 25, 2013
Messages
23
Points
0
mysql_fetch_object 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.
 

Jack London

Well-known member
Joined
Jul 9, 2012
Messages
158
Points
18
Now we use less these functions to retrieve data from database, It's basic fuctions for beginners, You can use Mysql class with OOP or it's easy to do with template engines integrated database classes.
 
Older Threads
Replies
9
Views
4,816
Replies
1
Views
3,373
Replies
2
Views
2,969
Replies
1
Views
2,666
Replies
8
Views
4,375
Newer Threads
Replies
55
Views
19,441
Replies
35
Views
14,485
Replies
0
Views
6,083
Replies
0
Views
2,907
Recommended Threads
Replies
27
Views
15,937
Replies
8
Views
4,579
Replies
0
Views
2,472
Replies
16
Views
6,590

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top