Jump to content

Sort records with ValueLists?


This topic is 3109 days old. Please don't post here. Open a new topic instead.

Recommended Posts

    $State = $_GET['LastName'];// ? shouldn't this be $State = $_GET("State") ?

 

The value list is being retrieved and displayed correctly; you just haven't called for the selected value in your find criteria.

 

Link to comment
Share on other sites

You have to add troubleshooting aids to your code, at least temporarily.  You can comment them out when you go live, but all I can tell now is that the search isn't being executed. Add some code to find out why:

    $FirstName = $_GET['FirstName'];
	$LastName = $_GET['LastName'];
	$State = $_GET['State'];
    echo 'Troubleshoot:<br>' $FirstName . ' ' . $LastName . ' ' . $State;// <-- Did the variables get set?
//  <snip> ... 
$result = $request->execute();
 if(FileMaker->isError($result){//  <-- is there a problem with the request?
        echo 'Error: ' . $result->getCode() . ': ' . $result->getMessage() . '<br>';
 }

 

Edited by doughemi
Link to comment
Share on other sites

This topic is 3109 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.