[FX.php List] Problems with linkNext/linkPrevious

Bob Patin bob at patin.com
Sun Feb 26 11:16:31 MST 2006


I sent a message about this earlier, but I never received a copy of  
it, nor am I getting any other messages... is this list not  
functional right now?

I'm trying to make my linkNext & linkPrevious code work, but am not  
getting very far. Here's what I've got in my page:

In the top of the page, I have this:

$search=new FX($serverIP,$webCompanionPort);
$search->SetDBData('file.fp7','layout',20);
$search->SetDBPassword('password','username');
$search->AddDBparam('model_no','=='.$model);
if (isset($_GET['skip']) && $_GET['skip'] > 0) {
      $search->FMSkipRecords($_GET['skip']);
}
$searchResult=$search->FMFind();

-----

Then, I have this below my table:

<?php
	if (strlen($searchResult['linkPrevious']) < 1) {
} else {
	echo '<a href="'.$searchResult['linkPrevious']."\" class=\"bbody 
\"><< Previous Results</a>\n";
}
?>

I'm sure my error is tiny, but I can't find it. When I click on my  
NEXT or PREVIOUS links, I get no records found...

Any help would be greatly appreciated; thanks,

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com

   CONTACT US VIA SKYPE:
      USERNAME: longtermsolutions

   CONTACT US VIA INSTANT MESSAGING:
      AIM or iChat: longterm1954
      Yahoo: longterm_solutions
      MSN: bob at patin.com
      ICQ: 159333060




More information about the FX.php_List mailing list