[FX.php List] Passing Data 101

Stephen Knight 1-800-353-7950 stephen at fmwebschool.com
Thu Jun 9 19:46:48 MDT 2005


Hi Jonathan,


This would depend on how you are storing data in $query.  Try echoing $query
to the page to see what if anything you are actually storing there.  If you
are performing a sort on different pages then yes you will need to recreate
the initial query.

In Kindness
Stephen K. Knight
www.fmwebschool.com
1-800-353-7950
Professional FileMaker Web Services

----- Original Message ----- 
From: "Jonathan Schwartz" <jonathan at eschwartz.com>
To: <fx.php_list at mail.iviking.org>
Sent: Thursday, June 09, 2005 9:06 PM
Subject: [FX.php List] Passing Data 101


> Please pardon the beginner question.  I'm trying hard to overcome the
> initial learning curve of FX.PHP.
>
> My current hurdle....displaying search result listing that offers
> multiple sort options.  The default search result sorts by Last Name.
> I have added links for additional sort fields (First Name, City, etc)
> by creating copies of the search result page, and changing the sort
> field for each page.
>
> Assuming that this is the right approach (?), the problem I am having
> is that no records appear in the subsequent pages.  I'm not sure if I
> need to recreate the original query or pass the query result to the
> new page.....and how.
>
> I've gotten this far. Here is the link on the original search result page:
> <a href="search_result_first.php?<?php echo $query; ?>">First</a>
>
> However, I don't believe that any data is being saved in $query.
>
> Any guidance would be appreciated.  I *told* you it was a beginner
> question. ;-)
>
> Thanks
>
> Jonathan
> -- 
>
> Jonathan Schwartz
> Schwartz & Company
> 817 Marin Drive
> Mill Valley, CA 94941
> Phone: 415-381-1852
> jonathan at eschwartz.com - http://www.eschwartz.com
>
> There's *always* a logical answer....most of the time.
> _______________________________________________
> 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