MySQL Forums
Forum List  »  Perl

Re: MySql, Perl, and HTML Update function not working
Posted by: Randy Clamons
Date: January 31, 2013 04:39PM

Hi Adam,

The error is probably somewhere that we can not see in your piece of code here. What I recommend doing is printing the $query right before the $sth = $dbh->prepare($query); line to see what you are actually submitting to the db.

From your description, my first guess would be that $formdata{'serial'} is undefined. Check the spelling in your html form.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySql, Perl, and HTML Update function not working
January 31, 2013 04:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.