KYKK Posted December 6, 2008 Share Posted December 6, 2008 I have a field name order where it have numbers 1 2 3 4 5.... and I want to display the rows of data in that order how can i do that, I try to search it but i don't know what keywords to put... I look at some PHP functions on looping but they don;t involves database... Link to comment Share on other sites More sharing options...
Ingolme Posted December 6, 2008 Share Posted December 6, 2008 In the query you're extracting the data from, add the ORDER BY line.Like this: SELECT something FROM somewhere WHERE somecondition ORDER BY numberfield Link to comment Share on other sites More sharing options...
KYKK Posted December 6, 2008 Author Share Posted December 6, 2008 duh...Order by lol, thx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.