MemphiS Posted July 6, 2007 Share Posted July 6, 2007 Currently my code has been working fine but for some reason today it stoped.. $search = mysql_query("SELECT `id` , `site_title` FROM `sites` WHERE `accepted`='1' ORDER BY `site_in` DESC LIMIT $lima, $limb"); while (mysql_fetch_row($displaySearch)){ // data,,, But it isnt displaying this correctly.. :s its displaying like 3 then 25 :/ Thanks for responding frost110 haha Link to comment https://forums.phpfreaks.com/topic/58714-solved-mysql-query-order-by/ Share on other sites More sharing options...
per1os Posted July 6, 2007 Share Posted July 6, 2007 What is usually contained in site_in, can you also post the database structure with maybe a few fields from the DB? Link to comment https://forums.phpfreaks.com/topic/58714-solved-mysql-query-order-by/#findComment-291215 Share on other sites More sharing options...
MemphiS Posted July 6, 2007 Author Share Posted July 6, 2007 Ahh thanks frost110 that twigged something for me i had `site_in` as VAR(100) change dit to an INT(100) Link to comment https://forums.phpfreaks.com/topic/58714-solved-mysql-query-order-by/#findComment-291218 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.