wxpsadd Posted October 24, 2008 Share Posted October 24, 2008 hello guys! i'm just new to php, and i wonder how to display specific number of records from mysql, i have a search engine built on my page and i want those search results will display at least 10 records. please help me........ thanks in advance!!!! Link to comment https://forums.phpfreaks.com/topic/129895-displaying-records/ Share on other sites More sharing options...
n3ightjay Posted October 24, 2008 Share Posted October 24, 2008 $q = mysql_query('select * from `whatEVER` limit 0, 10'); while($results = mysql_fetch_row($q)){ // display results } assuming your using mysql Link to comment https://forums.phpfreaks.com/topic/129895-displaying-records/#findComment-673400 Share on other sites More sharing options...
wxpsadd Posted October 24, 2008 Author Share Posted October 24, 2008 wow! thanks a lot! nicely done! problem solved ! Link to comment https://forums.phpfreaks.com/topic/129895-displaying-records/#findComment-673412 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.