jwk811 Posted September 26, 2006 Share Posted September 26, 2006 How do I make the forms being submitted to have a different action depending on what was submitted? I know you're supposed to use the elseif statment for it but I'm not sure how.. could someone give me an example or some script? Thanks! Quote Link to comment Share on other sites More sharing options...
Tandem Posted September 26, 2006 Share Posted September 26, 2006 [code]$blah = $_POST['blah'];if ($blah > 6) {$action = "something";}else if ($blah < 7) {$action = "nothing";}[/code]You mean something like that? Quote Link to comment Share on other sites More sharing options...
jwk811 Posted September 26, 2006 Author Share Posted September 26, 2006 yeah i think so, thanks ill try that out Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.