isset |
you might not need a substitute since you can use isset. For example
I have a form with a submit button input as follows : Code: <input type="submit" name="submit" class="btn btn-info"value="submit" /> in the controller that processes what was submitted from the form, i could check to see if the button was clicked with submit. As follows : Code: echo isset($_POST['submit']); i'm playing with forms at the moment and checked this still works , output was "1". |
Messages In This Thread |
RE: isset - by captain-sensible - 11-06-2020, 12:26 PM
RE: isset - by captain-sensible - 11-07-2020, 11:50 AM
RE: isset - by captain-sensible - 11-12-2020, 01:08 PM
RE: isset - by includebeer - 11-14-2020, 05:43 AM
|