Re: help with mySQL and ORDER BY
From: Jochen Daum (jochen.daum_at_cans.co.nz)
Date: 02/22/04
- Next message: Phil Roberts: "Re: A HREF and PHP"
- Previous message: LRW: "Re: help with mySQL and ORDER BY"
- In reply to: LRW: "Re: help with mySQL and ORDER BY"
- Next in thread: Pedro Graca: "Re: help with mySQL and ORDER BY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 23 Feb 2004 11:39:07 +1300
Hi !
On Sun, 22 Feb 2004 22:34:54 GMT, "LRW" <druid@NOSPAHMcelticbear.com>
wrote:
>"Jochen Daum" <jochen.daum@cans.co.nz> wrote in message
>news:k57i301abc9hs61k5o10fet0iblrnvn0g6@4ax.com...
>> Hi !
>>
>> On Sun, 22 Feb 2004 21:19:20 GMT, "LRW" <druid@NOSPAHMcelticbear.com>
>> wrote:
>>
>> >Is there a way to do a SELECT * on the table, and then order them in ASC
>or
>> >DESC by the fields as opposed to the records in a field? (They're all
>> >numeric fields.)
>> >
>> I understand what you want, but a database doesn't suppport that. You
>> have to use 56 records, which is a better data model anyway.
>>
>
>Hrrmm. Is there some way to be able to sort/order the results by numeric
>value? Highest to lowest?
>Something while making the WHILE array perhaps?
>I don't really know how to begin looking to do something like that. If it's
>possible, a simple pointer, the name of the process, is all I need and I'll
>go look into it.
www.php.net, search for array_sort or array_ksort or array_usort
>I just want to be able to dynamically sort the results on a Webpage in
>realtime. =/
realtime means with or without reload.
Jochen
-- Jochen Daum - Cabletalk Group Ltd. PHP DB Edit Toolkit -- PHP scripts for building database editing interfaces. http://sourceforge.net/projects/phpdbedittk/
- Next message: Phil Roberts: "Re: A HREF and PHP"
- Previous message: LRW: "Re: help with mySQL and ORDER BY"
- In reply to: LRW: "Re: help with mySQL and ORDER BY"
- Next in thread: Pedro Graca: "Re: help with mySQL and ORDER BY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|