Your shopping cart is empty!
There are two sides to form processing: the client-side and the server-side.
The client-side is the actual form that a visitor sees on your Web page. The form accepts the information entered by the user and the browser sends the data to the server for processing.
The server-side is a little more complicated, mainly because you have so many options for form processing. When the browser sends the form data to the server, it (the browser) assumes the server knows what to do with it. The server relies on you, the webmaster, to provide those instructions.
If you don't, the user may see an error message. Even worse, the form may seem to submit without a problem, but nothing really happens on the server-side. Keep this from happening by becoming familiar with the attributes that go with the FORM tag, what they mean, and what they do.
What is the ACTION attribute?
The ACTION attribute specifies the URL that will receive and process the form data. Use ACTION to send the form to a processing script or to email the form data, like this:
The ACTION attribute defines how the form will be processed and the method attribute defines how the form data will be sent. Use METHOD to tell the browser which HTTP method to use to submit the form data.
METHOD has two possible values: GET and POST.
With POST, you send the contents of the form as a data stream. Form data sent using GET becomes part of the URL.
Although GET is the default, it's an older method that's deprecated (marked for deletion in future HTML versions) in HTML 4.0.
POST is often the preferred way to send information especially if it's sensitive data or contained in a particularly long form.