Differences between mysql_fetch_object(), mysql_fetch_row() ?

shophia

New member
Joined
Mar 25, 2013
Messages
45
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

New member
Joined
Jul 9, 2012
Messages
386
Points
0
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
Newer threads
Replies
20
Views
8,588
Replies
33
Views
13,436
Replies
15
Views
4,503
Replies
23
Views
9,997
Replies
15
Views
12,742
Latest threads
Replies
0
Views
28
Replies
0
Views
29
Replies
1
Views
39
Replies
3
Views
94
Recommended threads
Replies
52
Views
38,121
Replies
13
Views
7,645
Replies
17
Views
4,796
Top