RE: [PHP] Displaying SELECT results

2002-03-21 Thread Martin Towell
e"; if ($i % 2 == 1) $bgcol = "gray"; rest of code end loop -Original Message- From: Christopher J. Crane [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Displaying SELECT results I wrote a shoppi

[PHP] Displaying SELECT results

2002-03-21 Thread Christopher J. Crane
I wrote a shopping cart, but I don't understand two things. 1) What is the best way to display like the first ten records and then a list of how many pages with 10 records on them...similar to like a search engine when it returns it's results. If I have 100 items I do not want to display all of th