good day!
here i am again....
i encounter this all the time...and i am using it too....
<form>
<input type = "text" name = "name" />
<input type = "submit" name = "register" value = "submit" />
</form>
<?php
if(isset($_POST['$register']))){
.....actions
}
?>
is there any way to trigger the form beside the isset thing that i used.....
thanks for the info appreciate it...
triggering the form
Moderator: General Moderators
Re: triggering the form
Yeah, included a hidden variable. I call mine 'action'.
Then in PHP...
Of course I check the action against what it should be, too.
Code: Select all
<input type="hidden" name="action" value="doUpdate">Code: Select all
if (!empty($_POST['action']))
{
//code here
}Code: Select all
if (!empty($_POST['action']) && ($_POST['action'] == 'doUpdate'))
{
//code here
}Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
-
jamesalexander
- Forum Newbie
- Posts: 5
- Joined: Wed Mar 26, 2008 10:35 pm
Re: triggering the form
thank you!
i going to try that one, appreciate it...
i going to try that one, appreciate it...