| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Suspended Join Date: Nov 2005 Location: www.TFFH.net
Posts: 280
![]() ![]() | MySQL Query Help Hi there. Ive got a databse running and an admin panel so i can add data. The data is displayed in a table. When i add new data the new data ends up at the bottom of the post. Check www.UKGMC.com for an example. Heres the code im using. How would i change it to display the newest data at the top? Code: $query = "SELECT CONCAT(dl_genre) AS genre, (dl_name) AS name, (dl_desc) AS dr, (dl_date) AS cat, (dl_link) AS link FROM dl ORDER BY dl_id ASC"; $result = @mysql_query ($query); |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Jun 2004
Posts: 587
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | try: PHP Code:
__________________ Can't wait to be out of this forsaken business. Getting close! :) |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Great Scripts for Sale With Resale Rights! | Zeeble | Scripts For Sale | 20 | 01-04-2006 02:39 AM |
| MySQL Tips | shahid_146 | Webmaster Tutorials | 4 | 10-18-2005 01:53 PM |
| Tutorial: How to Install Apache2 MySQL and PHP on Windows | deadserious | Webmaster Tutorials | 35 | 09-21-2005 10:46 PM |
| Tutorial: Getting Started With MySQL (The Basics) | deadserious | Webmaster Tutorials | 3 | 04-18-2004 02:17 PM |