Page 1 of 1

Paging Results, PLEASE HELP!!

Posted: Tue Jul 21, 2009 1:59 pm
by ryaneazy
OK. I am having so much trouble on how to page results with php. My code is as follows:

$sql = mysql_query ("SELECT * FROM people WHERE email = '$_POST[email]'");

while ($row = mysql_fetch_assoc($sql) ){
echo "$row[email]";

}

Someone please let me know how I can page these results! I would like to have 12 results until going to the next page! Thanks for your time and I look forward to someone that can help me out!

Re: Paging Results, PLEASE HELP!!

Posted: Tue Jul 21, 2009 2:07 pm
by jayshields
Search Google or these forums for "pagination".