retrive data From Mysql

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
iijb
Forum Commoner
Posts: 43
Joined: Wed Nov 26, 2008 11:34 pm

Re: retrive data From Mysql

Post by iijb »

Hi
I think it can be done using the mysql select query with ORDER BY keyword with the two values.

"SELECT * FROM students ORDER BY HSC,SSC"

Please try it.

Regards
iijb
Post Reply