I tried, but no change, in fact, when I print the $sql with data in it, it displays in the browser:
INSERT INTO `gentblogt` (`title`, `link`, `description`, `date`) VALUES ('Taxidermia', 'http://www.gentblogt.be/2006/09/06/taxidermia', 'De Hongaar György Palfi ...', '2006-09-06 11:01:16') ON...
Thanks for your quick reply
I use:
print "Content-type:text/html\n\n";
would using another content type have a different effect on a DBI action to insert data into a mysql database? I thought the content type only applied to the browser output?
Arvid
when importing XML RSS into mysql tables, I use a perl script with DBI, XML:Simple, LWP, ...
the issue:
$description="György";
my $sth = $dbh->prepare( q{ INSERT INTO `testdb` (`description`) VALUES (?) });
$sth->execute($description);
after the scripts runs, in mysql table, I always get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.