[PHP] I only want x number of lines of data

2006-08-09 Thread Ross
At the mometn I have this function display_result($module_no) { if ($module_no != ) { $module_no =unserialize ($module_no); foreach ($module_no as $number = $data) { $count=$count+1;? Q.?=$count; ?- span style=font-weight:bold?=$data;?/spanBR / ? } } which outputs all the data in the

Re: [PHP] I only want x number of lines of data

2006-08-09 Thread Brad Bonkoski
Ross wrote: At the mometn I have this function display_result($module_no) { $count = 0; //Of course you *should* initialize $count $start = 1; $end = 3; if ($module_no != ) { $module_no =unserialize ($module_no); foreach ($module_no as $number = $data) { $count=$count+1;

Re: [PHP] I only want x number of lines of data

2006-08-09 Thread Jochem Maas
? phpinfo(); ?PROMISE? phpinfo(); ?TO? phpinfo(); ?STOP? phpinfo(); ?BREAKING? phpinfo(); ?IN? phpinfo(); ?AND? phpinfo(); ?OUT? phpinfo(); ?OF? phpinfo(); ?PHP? phpinfo(); ?TO? phpinfo(); ?OUTPUT? phpinfo(); ?STRINGS? phpinfo(); ?TO? phpinfo(); ?THE? phpinfo(); ?BROWSER? phpinfo();

Re: [PHP] I only want x number of lines of data

2006-08-09 Thread Robert Cummings
On Wed, 2006-08-09 at 16:39 +0200, Jochem Maas wrote: ? phpinfo(); ?PROMISE? phpinfo(); ?TO? phpinfo(); ?STOP? phpinfo(); ?BREAKING? phpinfo(); ?IN? phpinfo(); ?AND? phpinfo(); ?OUT? phpinfo(); ?OF? phpinfo(); ?PHP? phpinfo(); ?TO? phpinfo(); ?OUTPUT? phpinfo(); ?STRINGS? phpinfo(); ?TO?