I am just learning mysql and I'm trying to write a cgi to update the
database from a form. Also just learning Perl. I have the following script
started that is called by an HTML form. I get the follwing message when I
execute it. Where can I find the message descriptions.
DBI::st=HASH(0x1b31f28)
this is my script so far:
#!c:\perl\bin\perl
use DBI();
print "Content-type:text/html\n\n";
#Connect to database members.
$database = "members";
$table = "members";
$dbh = DBI->connect("DBI:mysql:$database")or
dienice("Can't connect:$DBI::errstr");
$sth = $dbh->prepare("select
membername,address,city,state,zipcode,phonenumber from members")or
dienice("Can't prepare statement: ",$dbh->errstr);
print $sth;
exit;
upscope
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw