Reply to comment

HTML Forms and $_POST, a Simple Templating Script

This page will describe the difference between GET and POST, and the typical uses for each.

Generally, you use GET when you want the user to be able to bookmark the page. You also use it when retrieving data from a database (we'll get to that later).

You use POST when you're writing data to a database (again, we'll discuss this later). You don't want people bookmarking that kind of data, because it would quickly lead to repetitive data being recorded.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <dd> <dl> <dt> <i> <li> <ol> <u> <ul> <p> <br> <div> <pre> <code> <img><h1><h2><h3><h4> <blockquote>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

.