ORDER BY hits
default is ascending (ASC). Otherwise
ORDER BY hits DESC
Jeff Oien
> hi
>
> I have a database with some urls and numbers. There are currently 2 records
> in the database. I wanna sort them by the numbers. How should i do it?
> my table is like
>
> name hits
> john 343
> scott 3423
>
> any suggestions would be greatly appreciated!
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]