[FX.php List] linkNext not working

Josh Shrier joshshrier at gmail.com
Sun Sep 28 02:24:11 MDT 2008


I have to following code and for some reason the linkNext doesn't do
anything:

 

<?php

include_once('FX/FX.php');

include_once('FX/server_data.php');

 

$skip=10;


$search=new FX($serverIP,$webCompanionPort);

$search->SetDBData('datbase.fp7','layout',10);

$search->FMSkipRecords($skip);

$search->SetDBPassword('hashem','JS');

$searchResult =$search -> FMFindall();

foreach($searchResult['data'] as $key=>$searchData)

?>

 

Then for the link I'm using:

 

<?php

if (strlen($searchResult['linkNext']) < 1) {

  echo "<span class=\"medgraytext\">Next</span>\n";

} else {

  echo '<a href="'.$searchResult['linkNext'].">Next</a>\n";

}

?>

 

The result I get back is this added to the end of my url:
showall.php?skip=10&. That's it.

 

Can someone please help me.

 

-Josh Shrier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20080928/db542b02/attachment.html


More information about the FX.php_List mailing list