Jump to content

htmlboss

New Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by htmlboss

  1. Sorry if this sounds like a noob question ( smile.gif ), but how would I go about retrieving data POSTed from a text input field (sample below), update the respective row (WHERE id=1 for example) and then display the data in the same input fields again for ease of editing (all-the-while using PDO of course biggrin.gif )?

    <form action="form.php" method="POST">
       <input type="text" name="header1" placeholder="Header text here">
       <textarea name="summary1" placeholder="Summary text here">
       <input type="submit" name="submit" value="Update Info">   
    </form>
    
×
×
  • 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.