I want to use $_GET to fetch error messages from an array.
Heres my array:
$errormessages = array(
'nosearch' => 'Your search returned no results - <a href="guide?t=search">Click Here For Search Tips</a>',
'captcha' => 'The captcha you entered was incorrect, please try again.',);
So if I did echo $_GET['nosearch'];
it would return Your search returned no results - <a href="guide?t=search">Click Here For Search Tips</a>
How can I do this?
Thanks :)