Re: [PHP] Web Page/MySql

2001-03-13 Thread Chris Lee
simple example count('site', ''); $result = $database->select_array('', 'site', "LIMIT $pos, $HOW_MANY"); foreach($result as $pos => $val) echo $val['site_address'] ."\n"; if ($pos_prev >= 0) echo " Back "; echo " Home "; if ( $pos_next < $product_count ) echo " Next ";

Re: [PHP] Web Page/MySql

2001-03-13 Thread Fredrik Wahlberg
Read this (http://www.phpbuilder.com/columns/rod2221.php3) article over at phpbuilder which covers exactly that. /Fredrik >>>>>>>>>>>>>>>>>> Ursprungligt meddelande <<<<<<<<<<<<<<<<<&l

[PHP] Web Page/MySql

2001-03-13 Thread Mike
I have a Mysql Database on a web site.On very large record retrieval I want to split the recorset so there is "Page 1, Page 2"links at the bottom.This is the only part I dont have.Any Suggestions? Thank Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubsc