![]() |
How to understand if parameter is empty - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: How to understand if parameter is empty (/showthread.php?tid=73873) |
How to understand if parameter is empty - bomi - 06-16-2019 Hi. For example i have a delete method in users controller. I want to if there is no parameter i should redirect the user. For example these codes are not working. I am waiting advices. PHP Code: public function delete($incomingId) PHP Code: public function delete($incomingId) PHP Code: public function delete($incomingId) RE: How to understand if parameter is empty - InsiteFX - 06-16-2019 PHP Code: public function delete($incomingId = null) RE: How to understand if parameter is empty - bomi - 06-16-2019 (06-16-2019, 12:24 PM)InsiteFX Wrote: Thanks it worked ![]() ![]() |