Custom Find

A place for users and developers of the Xataface to discuss and receive support.

Custom Find

Postby gsilvis » Sun Jan 03, 2010 9:09 pm

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
gsilvis
 
Posts: 20
Joined: Sat Dec 05, 2009 4:52 pm

Re: Custom Find

Postby 00Davo » Sun Jan 03, 2010 9:21 pm

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. :)
00Davo
 
Posts: 55
Joined: Sat Jan 02, 2010 9:02 pm

Re: Custom Find

Postby gsilvis » Mon Jan 04, 2010 8:09 am

Works like a charm.
Thank you!
George
gsilvis
 
Posts: 20
Joined: Sat Dec 05, 2009 4:52 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 23 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved