Hi,
I am trying to send an empty variable via $_GET when a link is clicked.
<a href="/artgibney/admin/notes/index.php?search">Notes</a>
Above i am trying to send the empty variable “search” to the directory …/notes/ which contains a file index.php In that file I wanted to set some variables inside
if (isset($_GET['search']))
{
set some variables here.....
include '.............';
exit();
}
This is not working. So how can it be done?
Also is this an insecure way to do this?
Thanks,
Shane