//****************** Class: search box *********************************//
$issearch = $_POST['search_box'];
echo "<form name=\"search\" action=\"index.php?search=".$issearch."\" method=\"post\">";
if ($_GET['search'])
{
echo "<span class=\"button\"><a href=\"index.php\">Done</a></span><br />Search results for ";
echo "<strong>".$post."</strong>";
}
else
{
echo "<input type=\"text\" name=\"search_box\" value=\"\">";
echo ' <input type="submit" value="Search" style="cursor: pointer" class="button_submit" onmouseover="this.className=\'button_submit_hover\'" onmouseout="this.className=\'button_submit\'" alt="search">';
echo "</form>";
}
//****************** END Class: search box ******************************//
problem is i need to submit the form twice in a row before index.php?search will = the input >.<