$query = "SELECT * FROM table WHERE field = 'criteria' ORDER BY field";
$result = mysql_query("db","$query");
this sort order is ascending. to get descending order, use:
ORDER BY field DESC
you should, however, go to the previously recommended site for a tutorial.
your questions will be answered in spades there.
cheerio.
kate
At 10:44 PM 8/15/2001 +0200, Andrius Jakutis wrote:
>Hello again,
>
>How to list entries alphabeticall way?
>
>Using MYSQL.
>
>Thanks
>
--
PHP Database 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]