Latest Post Latest Comments
Brawl breaks out between cameramen at wedding (39 views)
Man washes lion on Iranian Street (149 views)
Cat likes being cleaned with a vacuum cleaner (215 views)
Call Phones from Gmail (291 views)
Truck Tug-of-War: New Ford F-250 vs 1983 Toyota 4×4 (239 views)
Man paints on water (496 views)
BBC sorry over weatherman's one finger salute (360 views)
Glass-bottomed hot air balloon makes maiden flight (317 views)
How to swear in English if you're Korean (647 views)
Driving through a wildfire in Russia (381 views)
pooja on BITS- Dubai Suspended Student for bloggin - Hostel Worries
radder on Ruby Cheat Sheet
Suren on Vanga predictions for this world
tekboi on Default Username and Password for Routers - All makes
BithCummimi on 100 Oldest currently registered domains
Chris on Gasoline Prices Around The World
beevoibusenia on Male warrior effect
dave on Interesting Tricks of the Body
EnsushFum on Cupid's Diary A Few Days Before Valentine's Day
Mary Watcerson on Bloodybelly Comb Jelly
 

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]


Name: 
Email:  (Email not shown)
Comment: