How To Remove Notice (1): Undefined index when getting URL Parameters

How To Remove Notice (1): Undefined index when getting URL Parameters?

Want to remove Notice in Cakephp? Then follow the below guideline…

#Previous,

$this->request->query['param_name']

#Change above line like below,

$this->request->query('param_name')

Hope, now you will not get Notice.

Leave a Reply

Your email address will not be published. Required fields are marked *