[FX.php List] php, filemaker and html forms

Nick Trenary nick at mail.crlibrary.org
Fri Oct 29 09:25:15 MDT 2004

I have a php page in which I want to pass a field value from one database 
to another in a form.  Does the form have input name values just like using 
CDML or are there other values to use?  Here's the form I've tried:

.... [php code]...

<form action="confirm.php" method="post">
<input type="hidden" name="-db" value="dbname.fp5">   // Is the extension 
<input type="hidden" name="-lay" value="web">
<input type="hidden" name="-format" value="confirm.php">
<input name="First_name" type="text" size="20">
<input name="Last_name" type="text" size="20">
<input name="Phone_number" type="text" size="20">

echo('input type=hidden name=ClassID value=' . $value['ClassID'][0] . '>');
<input type="Submit" name="-new" value="Submit reservation">

Are these the correct input names to use?  In this case is the form action 
page the same page as the -format page?

Thanks in advance,

Nick Trenary
Computer Information Systems Analyst
<http://www.crlibrary.org/>Cedar Rapids Public Library
Office:(319) 398-5145 x267
Work cell: (319) 310-7699  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20041029/febc5c0e/attachment-0001.html

More information about the FX.php_List mailing list