I am using CodeIgniter to pass some parameters to my PHP page through $_POST request, and in the PHP page I am reading.
$foo = $this->input->post('myParam');
If the myParam parameter is present in the $_POST request, then $foo will be assigned the myParam value. How do I check if myParam is not passed in the $_POST request?
I Googled ‘codeigniter input post’.
First result is this.
From that document:
So you need to do: