RE: [PHP-DB] Splitting Product Catalogue Over Multiple Pages?

2003-06-27 Thread Gary . Every
If you're trying to do paging, it's quite simple (there are tons of examples out there, search google for paging php) $sql = select count(*) from table_name $number_of_records = mysql_query($sql); $pointer=0; $recs_per_page=20; if($number_of_records $recs_per_page) { // do a limit and

Re: [PHP-DB] Splitting Product Catalogue Over Multiple Pages?

2003-06-27 Thread Boa Constructor
info? Cheers, Graeme :) - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 27, 2003 2:39 PM Subject: RE: [PHP-DB] Splitting Product Catalogue Over Multiple Pages? If you're trying to do paging, it's quite simple (there are tons

RE: [PHP-DB] Splitting Product Catalogue Over Multiple Pages?

2003-06-27 Thread Gary . Every
Message- From: Boa Constructor [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:20 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Splitting Product Catalogue Over Multiple Pages? Gary, thanks for your reply, I think I'll need 2 have a think about this. I didn't

Re: [PHP-DB] Splitting Product Catalogue Over Multiple Pages?

2003-06-27 Thread Boa Constructor
RE: [PHP-DB] Splitting Product Catalogue Over Multiple Pages?Ahhh rite, I think I get this, I've just posted another question but I think I it will work if I do it the way I suggest in my last post. If not please let me know. Thank you both Gary and Michael! Cheers, Graeme