Re: Displaying contents of MySQL Table {!?}
| From: | Jason Wong | Date: | Sat, 04 May 2002 07:14:06 +0000 |
| Subject: | Re: Displaying contents of MySQL Table {!?} | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96021@lists.php.net to get a copy of this message | ||
On Friday 03 May 2002 15:08, Liam MacKenzie wrote:
> Hi all, got a problem here...
>
> This bit of script works, but it displays the results the wrong way.
Computers are never wrong. They just do what they are told.
> I have to scroll to the end of the page to see the last bit of data entered
> into the database, I want the last bit of data entered to be displayed
> first.
> $SQL = " SELECT * FROM admin_shouts";
Use an ORDER BY clause. See manual for details.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
If they were so inclined, they could impeach him because they don't like
his necktie.
-- Attorney General William Saxbe
*/