|
| Nesting 2 forms and submit - PHP ( 110895 views ) |
| |
Here is a way to nest 2 forms and 2 submit buttons, this is PHP. This can be done without functions and only with a if statment.
if($_POST['xxx'] == "xxx name"){
//------- anything can be here
}
if ($_POST["yyy_name"] == "yyy" && $_POST['xxx'] == NULL) {
//------- anything can be here
}
form name="form_for_xxx
form name="form_for_yyy
input type="submit" name="yyy_name" value="yyy"
/form
input type="submit" value="xxx name" name="xxx"
/form
|
| |
| |
| |
1 Response(s) to Nesting 2 forms and submit - PHP
|
Alexroderick Says:
It’s a web designing company. It deals in web site design, website redesign, flash, 3D animation, logos, Banner Adds etc.
|
|
|
|
 |
Leave a Comment [38.107.191.109, you are being tracked]
|