I've got: use DBI;
only
Will try the DBD::mysql
Thanks
On Wednesday 24 July 2002 12:29 pm, Chris Glover wrote:
On Wed, 24 Jul 2002, Simon wrote:
Hi everyone, I want to make sure a some values are added into a table but am having some problems.. I'm trying to use the following
$dbh = DBI->connect('dbi:mysql:dbname','user','passwd');
if($dbh->do("insert into <table-name> value('$data1','$data2 etc...)") ==
- {
blah blah } else { blah blah }
But I keep on getting an error about an undefined subroutine... help please..
TIA
SImon
Hi Simon
Do you have
Use DBI; Use DBD::mysql;
At the top of your programme? If not it wont work.
Chris