PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Hm...no results displaying!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hm...no results displaying!

    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?

  • #2
    And, naturally, as soon as I post the question I find the solution.

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

    Comment

    Working...
    X