Hey guys... I'm searching for this on google but I have a lot of return of examples of using FORMS to send variables... My question is: Why is my forms sending X, Y variables although i have not created them anywhere :S
on print_r($_GET) I get:
Array
(
[q] => Search
[searchFor_x] => 14
[searchFor_y] => 15
[searchFor] => play
)
That's the only things I have on my form:
<form id="search_form" method="get" action="searchPage.php">
<input name="q" type="text" id="s" value="Search" class="search" />
<input type="image" src="images/btn_search_box.gif" width="27" height="24" id="go" name="searchFor" value="play" alt="Search" title="Search" />
</form>
I have always destroied the variables with the unset() function... but now I would rather not have it because in this case the value is sent as a parameter for a search on my DB and that reflects on my URL :S
Independent of the method I use (POST or GET) it still returs me those XY variables.
If some one knows what is going on I would appreciate any help.
Thanks very much.
Gill