[FX.php List] Suggestions on editing a list of check boxes

John Funk csinfo at criticalsolution.com
Mon Sep 1 09:52:27 MDT 2008


I have HTML form that list the results of an FM query in a check box format.
I would like to then send that list (all (records with user changes) back to
the same FM layout (table) with FMEdit().
Can anybody give an example for capturing, sending and getting arrays of
data between php files, then parsing to edit the records? I understand the
FMEdit() part.

My form part to show to check list:
$RecID=$record['RecordID'][0];
$Category=$record['Category'][0];
$YrSelected=$record[' YrSelected'][0];

echo "<input name=RecID type=hidden value=".$RecID.">";
echo "<input name=YrSelected type=checkbox value=".$YrSelected;

if ($YrSelected >"")

echo " checked>".$Category."<br>";
else
echo " unchecked>".$Category."<br>";


This seems so simple but the more I work on it the more I get screwed up.
Thanks
John Funk




More information about the FX.php_List mailing list