janim Posted August 12, 2007 Share Posted August 12, 2007 hey guys i have page pulling data from DB and display this data in one page using while loop i want to filter this results by location,age,and so how can i start whith this couse i don'e have any idea about this many thanks for all Link to comment https://forums.phpfreaks.com/topic/64529-search-in-php/ Share on other sites More sharing options...
Wuhtzu Posted August 12, 2007 Share Posted August 12, 2007 What do you mean by filter? Link to comment https://forums.phpfreaks.com/topic/64529-search-in-php/#findComment-321687 Share on other sites More sharing options...
NArc0t1c Posted August 12, 2007 Share Posted August 12, 2007 Look into the LIMIT and ORDER statements in mysql. Link to comment https://forums.phpfreaks.com/topic/64529-search-in-php/#findComment-321688 Share on other sites More sharing options...
Wuhtzu Posted August 12, 2007 Share Posted August 12, 2007 NArc0t1c gave you the short answer If you want to sort data from a mysql database you need to look into the LIMIT, ORDER and WHERE clauses in sql statements. Link to comment https://forums.phpfreaks.com/topic/64529-search-in-php/#findComment-321689 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.