I have a search results page which takes results according to either a name or a town.
I have used
$name = $_POST["name"]; and
$town = $_POST["town"];
this works fine for the first page of results, but when I move to the second I get an "undefined index" error
I assume this is because when moving to the second page its waiting for these variables to be filled with search criteria again
is there any way I can stop this from happening?
I have used
$name = $_POST["name"]; and
$town = $_POST["town"];
this works fine for the first page of results, but when I move to the second I get an "undefined index" error
I assume this is because when moving to the second page its waiting for these variables to be filled with search criteria again
is there any way I can stop this from happening?