skip to main
|
skip to sidebar
C #, Asp.net, VB.net PHP
Please Comment out ur Exper about the Above Langauges
Monday, October 26, 2009
The Submit Button of a HTML FORM php
The HTML Submit button is used to submit form data to the script mentioned in the ACTION attribute. Here's ours:
"
"
So the page mentioned in the ACTION attribute is basicForm.php. To Submit this script, you just need a HTML Submit button:
You don't need to do anything special with a Submit button – all the submitting is done behind your back. As long as SUBMIT has an ACTION set, then your data will get sent somewhere. But the NAME attribute of the Submit buttons comes in very handy. You can use this Name to test if the form was really submitted, or if the user just clicked the refresh button. This is important when the PHP script is on the same page as the HTML form. Our Submit button is called "Submit1", but you can call it almost anything you like.
Now that you know about METHOD, ACTION, and SUBMIT, we can move on to processing the data that the user entered. First, how to get values from our text box.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2009
(50)
▼
October
(50)
Begning in php chapter 1
What you need to get started with PHP
Troubleshooting
What is a Variable in PHP?
Adding up in PHP
Putting Text into Variables
Variables - Some Practice
More Variable Practice
Concatenate
How to Subtract in PHP
PHP and Multiplication
PHP and Division
Floating Point Numbers in PHP
If Statements in PHP
Using If Statements in PHP
if … else Statements in PHP
if … else if Statements in PHP
if … else if Statements in PHP
Comparison Operators in PHP
Not Equal To
How to use "Less Than" and "Greater Than" in PHP
What these mean: <= >=
The PHP Switch Statement
Logical Operators
Boolean Values in PHP
Operator Precedence – a List
The HTML Form php
The Method Attribute of HTML Forms php
The POST Attribute of HTML Forms
The POST Attribute of HTML Forms
The ACTION Attribute of HTML Forms php
The Submit Button of a HTML FORM php
Getting values from a Text Box with PHP
Checking if the Submit Button of a HTML Form was C...
Checking if the Submit Button of a HTML Form was C...
Setting ACTION to a different PHP Page php
Keeping the data the user entered PHP
PHP and Radio Buttons
PHP and HTML Checkboxes
For Loops in PHP
A PHP "Times Table" Programme
The Code for the PHP Times Table Programme
While Loops in PHP
Do While loops in PHP
How to break out of PHP Loops
What is an Array? php
How to Set up an Array in PHP
Getting at the Values Stored in PHP Arrays
PHP Arrays - Using Text as Keys
PHP Arrays and For Each Loops
About Me
Faisal Motan
Karachi, sindh, Pakistan
Developer
View my complete profile
No comments:
Post a Comment