Created
October 16, 2018 03:38
-
-
Save jorgecc/296087be9947ad23bc44eac749102297 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$button=$val | |
->type('integer') // it must be a number | |
->def(0) // default value is zero | |
->ifFailThenDefault() // if fails then, the button will be the default value=0 | |
->post('frm_button'); // fetch the value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment