isset |
There's no problem using plain PHP, but you can also make your life easier by using CI's features.
For example, instead of doing this: PHP Code: $something = isset($_POST['foo']) ? $_POST['foo'] : NULL; ...you can do this, for the same result: PHP Code: $something = $request->getPost('foo');
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
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
|