Jump to content

TerryJ

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by TerryJ

  1. Thanks. That was all it was! I can go on from there. Amazing that you can jump in and out of php in the middle of a definition.Thanks again.TerryJ
  2. I have a form in an HTML coded page Posting a name (Jim Smith) to address the required variables in an included php array: <!-- Echo as test of correct posting --> <?php include 'vars.php'; define (_fname,$_REQUEST['fname']); define (_lname,$_REQUEST['lname']); echo _fname . " " . _lname; ?> <div style="position:absolute;padding:30px;top:220px;width:900px"><h3>To the Secretary, Treasurer and Captain</h3> <p><h3>Joining SREIGS</h3>I wish to become a member of SREIGS.</p> <!-- Active only if action set to "joining.php" --> <form action="" method="post" id="joining" target="reply"> <fieldset> <legend><h3>New Member information</h3></legend> <br>Please provide the following details for our records:<br><br> First Name (only):<input type="text" name="fname" value= <?php _fname ?> > Last Name:<input type="text" name="_lname" value=_lname ><br><br> </fieldset> </form> <iframe name="reply" height="500" width="897" frameborder="0" scrolling="No"> <p>Your browser does not support iframes.</p> </iframe> You will note that in "fname" and "lname" fields I have tried different methods - neither works. TerryJ
×
×
  • Create New...