It looks like the problem is that you're not closing the form properly:
echo "</form>\n"; not echo "<form>\n";So the browser is probably getting confused on where to send the form submission.
-Rob _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php