Hello, i a little probleme, when i send a search in my website, i am x= and y= appear in the end of url.
Exemple: www.site.com/search.php?q=agp&x=14&y=7
How remove the x and y
The url is ok whithout but on submit searchform the caracter appear.
Also, i try to give a name at in INPUT type=image in searchform and the url give: search.php?q=&rechparcat.x=14&rechparcat.y=13
rechparcat is a name of INPUT type=image, and with this url, impossible to Recovered the get.
please give me a tips.
Sorry for my English i french.
Thanks
yes the search.php works but the name of image for recovered the get Can not be used,
if(isset($_GET["rechparcat"])) don't works with this url search.php?q=&rechparcat.x=14&rechparcat.y=13, how remove x and y ?
Hello raf,
I understand. As you know that the button is called "rechparcat", can you just check for it like this instead:
if (isset($_GET["rechparcat.x"]))
Cheers,
David.
if (isset($_GET["rechparcat.x"])) don't works :(
how remove x and y or add &
look like search.php?q=&rechparcat&x=14&y=7
Hello raf,
You can see what is being sent to the script with this:
print_r($_GET);
That should help you see what to put in isset()...
Cheers,
David.
Hello raf,
As far as I know, if you use an IMAGE as a SUBMIT button, then the X and Y are also submitted. However, they should not cause a problem for search.php.
Can you email me a link to your site so that I can see what happens?
Reply to your registration code email is the best way to get me!
Cheers,
David.