in reply to cgi sumbit no-worky

As others have said the lack of $q->start_form and $q->end_form is the probable culprit. Whenever you can't get a form to submit or something just doesn't display correctly on your page make sure to view the HTML source that your program spit out, in this case you could have seen that your form had no form tags and thus was not being sent at all.

Hope that helps,
Chris

Lobster Aliens Are attacking the world!