blobs
[email protected] (Iain Truskett) Thu, 29 Aug 2002 13:12:41 +1000
| Newsgroups | perl.books.workers |
|---|---|
| Message-ID | <[email protected]> |
Ok. I want the covers in the db.
How does one actually go about inserting and retrieving binary data from
a database?
Does one just do a:
{
my $sth = $dbh->prepare('insert into covers (isbn,small) values (?,?)');
$sth->execute($isbn, $imagedata);
}
Because that's not working for me.
[and I've updated the tarball:
Current code: http://ouroboros.anu.edu.au/books/books.tar.bz2
]
cheers,
--
Iain.