PDA

View Full Version : one search field in main.html



KOMAPA
06-17-2005, 04:46 AM
HI!

I try to add a simple field in the main.html like this:


<form action="index.php" method="get">
<input name="MLS[]" type="text" size="12" value="">
<input type="hidden" name="action" value="searchresults">
<input type="image" src="template/cms_integration/images/search_forward.gif">
</form>

but when I fill some digits ex."1234" to search a listing in the adress bar I see 2 more variables &x= &y= with random values

like this:
index.php?MLS%5B%5D=1234&action=searchresults&x=6&y=8
or
index.php?MLS%5B%5D=1234&action=searchresults&x=12&y=8

and no results...

Where is my mistake?...