Hello everybody
I have to get data from a table and arrange them in a descending order, so that the greater IDs be first in the array.
And I need to know that whether I have to use fetch_array or regular fetch().
thanks in advance
ORDER By Id
Started by mostafatalebi, Jan 05 2013 05:11 PM
2 replies to this topic
#1
Posted 05 January 2013 - 05:11 PM
Visual Effects Programming
Autodesk Maya, Autodesk Mudbox, Nvidia Mental Images Mental Ray, Adobe Photoshop, Adobe Illustrator, Adobe After Effects, CorelDraw
Autodesk Maya, Autodesk Mudbox, Nvidia Mental Images Mental Ray, Adobe Photoshop, Adobe Illustrator, Adobe After Effects, CorelDraw
#2
Posted 05 January 2013 - 05:23 PM
Excuse me?
"Java" is to "Javascript" about the same as "fun" is to "funeral".
Why $_SERVER['PHP_SELF'] is bad. || Why ORDER BY RAND() is bad || Every problem can be solved with rm -rf *
Random Quote:
Why $_SERVER['PHP_SELF'] is bad. || Why ORDER BY RAND() is bad || Every problem can be solved with rm -rf *
Random Quote:
"
#3
Posted 05 January 2013 - 06:30 PM
Oh it is solved. I found the solution. I meant: $result->fetch_object()
Visual Effects Programming
Autodesk Maya, Autodesk Mudbox, Nvidia Mental Images Mental Ray, Adobe Photoshop, Adobe Illustrator, Adobe After Effects, CorelDraw
Autodesk Maya, Autodesk Mudbox, Nvidia Mental Images Mental Ray, Adobe Photoshop, Adobe Illustrator, Adobe After Effects, CorelDraw
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












