PDA

View Full Version : Hm...no results displaying!


sadkkf
11-18-2008, 04:02 PM
Not sure what I'm doing wrong, but I'm not getting any results to display.

I've got a search box on my site from an include file and when I use it, it goes to the search page, but only displays the search box again. I can use that box and get results.

My code for the include:

<form method="GET" action="/search/search.php">
.
.
.
<label for="searchstring">Search</label><input name="searchstring" id="searchbox" name="zoom_query" type="text" size="16" /><input name="submit" id="submit" type="submit" value="Go" />
.
.
.
</form>

The search.php page is unchanged from the original as is the template.

Any ideas?

sadkkf
11-18-2008, 04:06 PM
And, naturally, as soon as I post the question I find the solution.

One too many "name" attributes in the <form> tag. :rolleyes: