in reply to Form not parsing correctly

Your form has this:
<input type=hidden name=starttime value=\'$lastName\'>
and your Perl has this:
$startdate = $session_cgi->param("start_date");
So I'm thinking you need to fix your parameter names.

Replies are listed 'Best First'.
Re^2: Form not parsing correctly
by Kevad (Scribe) on Apr 27, 2005 at 02:32 UTC
    Good catch. The variable names are likely causing the problem.

    One additional suggestion I have... Instead of running the actual SQL query during your debugging process, try just printing the SQL statement out to the browser. That way you can make sure the SQL statement is constructed properly. It will also help determine if you are having a perl/cgi problem vs. an SQL problem.

      Okay, I'm embarassed. I never actually passed a delete parameter so I was checking to see if delete was sent, but it never existed in the first place. Ack! Thanks for the extra set of eyes on this, I'm incorporating some of your suggestions.