Page 1 of 1

Custom Find

PostPosted: Sun Jan 03, 2010 9:09 pm
by gsilvis
I am trying to get a custom find functionality added, where I will take what the user has entered into a field on the Find form and call another website with that information to build a more complex sql query. The first step is to get what was on the Find form to the action code. I make the transition to the action with ?action=specialquery&fieldinfo=xxxx, where xxxx is what was in the field. How can the php code in my action get the fieldinfo string from the url that invoked the action?

Thanks
George

Re: Custom Find

PostPosted: Sun Jan 03, 2010 9:21 pm
by 00Davo
I believe you can access fieldinfo in your PHP like this:
Code: Select all
$_GET["fieldinfo"]

Just use it as a variable, and there you go.

I don't really know much about Xataface actions, but it should work. :)

Re: Custom Find

PostPosted: Mon Jan 04, 2010 8:09 am
by gsilvis
Works like a charm.
Thank you!
George