in reply to MySQL Database DBD Error
Based on the error message, I'd hazard a guess that "HeadName" isn't the name of a column in your DB. Perhaps a re-reading of the DB schema is in order.
----
I Go Back to Sleep, Now.
OGB
In Section
Seekers of Perl Wisdom