April 15, 200421 yr I am trying to display two valuelists in a webpage. My first valuelist shows up perfectly, but my second valuelist shows the first valuelist twice. I am using the code provided in the FX.php documentation for displaying valuelist from FileMaker6. I guess I am missing a step though. I am using the same exact code for my first valuelist for the second value list. The name of my first valuelist is called 'Disease.' The name of my second valuelist should be 'Diagnosis' -where can I change this??? $DiagnosisName = new FX('127.0.0.1'); $DiagnosisName->SetDBData('<same as in first valuelist>', 'same as in first valuelist'); // password line purposely omitted $ReturnedData1 = $DiagnosisName->FMView(); // stores layout information in $ReturnedData foreach ($ReturnedData1['valueLists'] as $key => $value) { foreach ($value as $key1 => $value1) { $valuelistData[$key] .= "t<option value="$value1">$value1</option>n"; } echo "<select name="$key">n"; echo $valuelistData[$key]; echo "</select>n"; echo "<br />n"; } Thanks FileMaker Version: 6 Platform: Windows XP
Create an account or sign in to comment