[FX.php List] select fields and related fields

Gjermund Gusland Thorsen ggt667 at gmail.com
Sat Jul 8 10:15:55 MDT 2006


I believe this is easier to read and work with
---
<?foreach( $listResult['valueLists']['TITLE'] as $value ) {
	$vlQuickTimeOption[] = '<option value="'.$value.'">'.$value;
}

$vlQuickTime = '<select name="quick_time::Title">'
	. '<option value="" selected></option>'
	. implode( "\n", $vlQuickTimeOption )
	. '</select>';
	
foreach( $listResult['valueLists']['FACULTY_NAME'] as $value ) {
	$vlFacultyNameOption[] = '<option value="'.$value.'">'.$value;
}

$vlFacultyName = '<select name="quick_time::faculty_name">'
	. '<option value="" selected></option>'
	. implode( "\n", $vlFacultyNameOption )
	. '</select>';

?>
<form method="post" action="searchmtis_result.php">
			<tr>
				<td align="right">Title: </td>
				<td><?echo $vlQuickTime;?></td>
			</tr>
			<tr>
				<td align="right">Faculty Name: </td>
				<td><?echo $vlFacultyName;?>
				</td>
			</tr>
				<tr><td/>
				<td><input type="submit" name="submit" value="Search Videos">&nbsp;
					<input type="reset" value="Clear"></td>
			</tr>
		</form>
	</table>
---

Which version of Filemaker do you use? Several portals in XML RPC only
occationally works with version 7, however with 5/6 and 8 it should
work fine with more portals.

ggt667


More information about the FX.php_List mailing list