Re: [PHP] dynamic content again

2001-03-09 Thread Chris Lee
here is an 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

[PHP] dynamic content again

2001-03-09 Thread george
First of all thanks to everyone who has helped me from this ng but I am afraid I have another question I am using the code below to pull FAQ out of a database but how do I stop the next link appearing when the last question is displayed TIA george if ( !isset( $start )){ $start = 0; } $nu