update: hehehe I absent-mindedly fixed the dbh/sth error while reformatting this code and didn't even notice it : ) I also just dropped in the $sth = to make it reflect what it would really be like...
Should work. try running the code with some error checks to sniff out the real problem like:
$sth = $dbh->prepare('INSERT INTO tablename SET value=?') or die ("Couldn't prepare statement: ", $dbh->errstr); $sth->execute('hello.world') or die ("Couldn't execute statement: ", $sth->errstr);
"sometimes when you make a request for the head you don't
want the big, fat body...don't you go snickering."
-- Nathan Torkington UoP2K a.k.a gnat
In reply to Re: DBI dots
by jptxs
in thread DBI dots
by Merlin83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |