Re: How to move data up and down within a table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi deepak,

Q: need help to move data up and down within table, b-cz some time i
need some data come first some come in last...and i want to do that by
giving a option in admin, as its a small CMS type project.
you can use as:

A:

SELECT <fieldname>  FROM <table>
ORDER BY <fieldname> DESC

DESC descending
ASC ascending

Hope this will be helpful or make search in search engines

Bye


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux