I have been folowing the Reading form a database guide at
Reading from a database and have ran into a problem that I can not find an answer for. I have checked the FAQs and did a search but nothing really came up that helped.
Like the guide shows I am tryign to use the prepare statement to prepare and SQL command but when I run the script I get the error:
Undefined subroutine &main::prepare called at D:\crystalreverie.com\www\members\signup.pl line 28.
Line 28 contains this code:
$sth = prepare (qq~execute new_registrations $uid $pass $charactername $realname $email~) or die "Could not prepare statement: $DBI::errstr; stopped";
What would be causing this?
Edited by Chady -- fixed URL.