Forms, and HTTP GET and POST Requests

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:01
    Forms, and HTTP Get and POST Requests
  • 0:04
    With Leanna Pelham
  • 0:09
    OK.
  • 0:10
    Let's build this form.
  • 0:12
    Let's leave PHP alone for a second and put together some good old HTML
  • 0:16
    to create a form with Name, Breed, and Weight text fields.
  • 0:21
    And hey, why not a Bio text area field too,
  • 0:24
    so we can get to know these pets.
  • 0:28
    I'm adding some divs and classes here that use the Twitter Bootstrap
  • 0:31
    CSS that's included in this project.
Loading ...

Forms, and HTTP GET and POST Requests

Loading...

In this tutorial we're going to leave PHP alone for a second and put together some good old HTML to create a form with name, breed, weight, and bio text fields. Once we create our form, we'll explain how forms get submitted over HTTP, and the difference between POST and GET requests.

Downloads: 
Log in or sign up to download companion files.

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.