[FX.php List] LinkNext issue
Gjermund Gusland Thorsen
ggt667 at gmail.com
Wed Oct 6 02:45:05 MDT 2004
I believe I still have a sample on http://ext.comitas.no/index.phps
that calculates next page.
ggt
On Mon, 04 Oct 2004 13:09:05 -0400, Ben Rollins <ben at eldertreks.com> wrote:
> Hi,
>
> I'm working on moving a travel site from CDML to FX.php, and I'm running
> into an issue with LinkNext.
>
> The search works fine, and the foundcount and groupsize show up.
>
> On Chris's advice to Kevin Futter, I added this code:
>
> if (isset($_GET['skip']) && $_GET['skip'] > 0) {
> $search_result->FMSkipRecords($_GET['skip']);
> }
>
> And the linkNext code looks like:
>
> <?php
> echo "<a href=\"" . $tour_list['linkNext'] . "\">Next</a>";
>
> ?>
>
> And the link I get echoes the search terms accurately ie:
>
> http://hostaddress/etredesign/pages/search_results.php?skip=30&Searchable=show&tourregion=&tourseason=Fall2004&tourkind=&tourcost=&touractivitylevel=&
>
> (Searching for tours in Fall 2004 that our content manager has marked
> searchable)
>
> But
>
> a) I get this stuff at the end of the link: Submit_x=98&Submit_y=17&
>
> What is that?
>
> b) More importantly, I get a Displaying trips 1 through 0 of 0 found (the
> found count in FMPro remains unchanged).
>
> Does anyone have any ideas what I'm doing wrong?
>
> Thanks in advance!
>
> Ben Rollins
> IT Manager
> ElderTreks - Exotic Adventures for travelers 50 and over
> Toronto, Canada
> Tel: 416 588 5000
> 1 800 741 7956
> Fax: 416 588 9839
> ben at eldertreks.com
> http://www.eldertreks.com
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list