FIxed the search

This commit is contained in:
moodler 2003-08-16 05:29:29 +00:00
parent 73047f2f76
commit f07c9d23fc

View File

@ -251,11 +251,13 @@
} }
if ($search or $usercount > MAX_USERS_PER_PAGE) { if ($search or $usercount > MAX_USERS_PER_PAGE) {
echo "<form action=teacher.php method=post>"; echo "<center>";
echo "<form action=teacher.php method=get>";
echo "<input type=hidden name=id value=\"$course->id\">"; echo "<input type=hidden name=id value=\"$course->id\">";
echo "<input type=text name=search size=20>"; echo "<input type=text name=search size=20>";
echo "<input type=submit value=\"$searchstring\">"; echo "<input type=submit value=\"$searchstring\">";
echo "</form>"; echo "</form>";
echo "</center>";
} }
echo "</td></tr></table>"; echo "</td></tr></table>";