Develop PHP Website for Learning Web Design Free Online
  Home   |   Forums   |   DevCMS
  Join   |   Log In
 
   

Forum Index >> PHP and MySQL Forum

Holder
Sort MySQL Query
   New topic    
 
Sort MySQL Query
by UMihnea - Fri Jul 30, 2010 07:24:56 AM

I'm working to a basic forum in simple PHP and MySQL, and I need some help when separating the normal topics, the sticky topics, and the announcements.  I want put the topics on the same tables, different color, but: The anouncements will stay at the top, never changing their order, the same with the sticky topics. How can I sort them as I want, without making three different querys?

UMihnea
Forum & Site XP Level:

Romania
Romania
Bucuresti

LibraLibra
Posts: 16
Joined: 07/12/10

   New topic  
 
 
Arbitrary Links and Archives
Home
Active Forums
Members
SIte News
Link To Us
Gear
2009 Forum Archive
Programming Courses
Learn HTML
Learn CSS
Learn PHP
Learn MySQL
Learn Javascript
Learn jQuery
Learn ActionScript 3.0
Learn Java
Learn XML
DevelopPHP Requires Flash Player
Get Adobe Flash player
___________________________________________

Terms of Use  •  Privacy  •  Admin Notes

©2010 developphp.com   |   Powered By FlashBuildingHolder