[FX.php List] links to refine search

Nick whatdoyouwant at gmail.com
Wed Jul 16 18:01:36 MDT 2008


an example of your form would be helpful.
i'll try to explain without it, though:

you have a <form method="get" action="list.php">
<input type="radio" name="choice" value="A" />
<input type="radio" name="choice" value="B" />
<input type="radio" name="choice" value="C" />
<input type="submit" />
</form>

well the above form would be the same as doing this: <a
href="list.php?choice=A">Click here for A</a>

in the PHP the variable would be $_GET['choice'] and it would have your
value of A B or C or whatever

does that help?

2008/7/16 biscuit technologies <biscuit.tech at gmail.com>:

> Hi,
> Can someone suggest the best way to go about creating the following
> functionality:
> I have a default found set of over 1500 records and want to provide links
> to items that begin with specific letters in the alphabet for easy
> navigation.
>
> In Filemaker I've created a new field that calculates the first letter of
> the item and in my PHP I've created a form which successfully searches that
> field and returns the right results (search for A returns a group of records
> with the only the items that start with A). I've gotten the raw XML URL
> figured out to see that it works, but I'm having a hard time figuring out
> what the HTML URL syntax needs to be.
>
> What I'd like to do, but so far haven't been able to figure out, is have a
> series of links:
> go to items that begin with A
> go to items that begin with B
> go to items that begin with C
> and have these links essentially perform the same find as in my form.
>
> Thanks,
> David
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080716/d1946c53/attachment.html


More information about the FX.php_List mailing list