Jump to content

Getting form Data to display in a page


stringertv

Recommended Posts

Hey Guys I'm looking to setup a page on a fire dept website to track when vehicles are taken out of service by the mechanic and for what reason.  I've only done the most basic of mail scripting so I'm greener that green here.  I want that info when submitted to display on the same page as the form in a table.  I've searched like crazy and can't see if it's a possibility.  Maybe it's so easy Im missing it.  It seems like a basic process.

 

Any help would be great....after you stop laughing at my ineptness.

Link to comment
https://forums.phpfreaks.com/topic/144827-getting-form-data-to-display-in-a-page/
Share on other sites

???Yeah i was on that track but it loads a new page and shows just that item submitted.  I am looking to form a list of items submitted and track them on the same page with a table that goes on and on(for as long as someone keeps adding vehicles)

 

<form name="form1" method="post" action="testingformpage.php">

  <table width="100%" border="1" cellpadding="6">

    <tr>

      <td width="14%"><label for="fieldNam1">Date:</label>

      <input type="text" name="fieldNam1" id="fieldNam1"></td>

      <td width="14%"><label for="fieldNam2">Vehicle:</label>

      <input type="text" name="fieldNam2" id="fieldNam2"></td>

      <td width="14%"><label for="fieldNam3">Reason/Problem</label>

      <input type="text" name="fieldNam3" id="fieldNam3"></td>

      <td width="14%"><label for="fieldNam4">Person Making Report:</label>

      <input type="text" name="fieldNam4" id="fieldNam4"></td>

      <td width="12%"><label for="fieldNam5">Badge:</label>

      <input type="text" name="fieldNam5" id="fieldNam5"></td>

      <td width="14%"><label for="fieldNam6">Date OOS:</label>

      <input type="text" name="fieldNam6" id="fieldNam6"></td>

      <td width="6%"><label for="submit"></label>

      <input type="submit" name="submit" id="submit" value="Submit"></td>

    </tr>

  </table>

</form>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.