Re: mySQL function
| From: | Jason Brooke | Date: | Thu, 10 Aug 2000 02:05:53 +0000 |
| Subject: | Re: mySQL function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11033@lists.php.net to get a copy of this message | ||
> Hey, I have a mySQL database that I am adding entries to via an online
form.
> What I want to do is sort the mySQL table each time a new entry is added.
> So, since I'm not that familiar with mySQL (I haven't had time to learn it
> yet) does anyone know of a PHP function that I can call to sort my
database?
> (I checked the online PHP manual and didn't see anything) Thanks in
advance.
>
> --Craig Henderson SAE, Adgrafix Corporation
No there's not
How come you want to do that? There's a built in feature of ansi sql called
'order by' that let's you sort your results on any selected value/s on the
fly
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#SEL
ECT
jason