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

Gjermund Gusland Thorsen ggt667 at gmail.com
Fri Oct 29 13:34:21 MDT 2004


Using php you have to write the parser side too, not just the
submitting context.

That is the info you have in hidden could stay there,
but most likely you will rather hardcode that info into confirm.php

Gjermund Gusland Thorsen

On Fri, 29 Oct 2004 10:25:15 -0500, Nick Trenary
<nick at mail.crlibrary.org> wrote:
>  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:
> 
>  [Code]
>  .... [php code]...
>  ?>
> 
>  <form action="confirm.php" method="post">
>  <input type="hidden" name="-db" value="dbname.fp5">   // Is the extension
> needed?
>  <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">
> 
>  <?php
>  echo('input type=hidden name=ClassID value=' . $value['ClassID'][0] . '>');
>  ?>
>  <input type="Submit" name="-new" value="Submit reservation">
>  [/Code]
> 
>  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
>  
> 
> ----
>  Nick Trenary
>  Computer Information Systems Analyst
>  Cedar Rapids Public Library
>  Office:(319) 398-5145 x267 
>  Work cell: (319) 310-7699 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> 
>


More information about the FX.php_List mailing list