On Fri, 26 Sep 2003 [EMAIL PROTECTED] wrote:
> I haven't looked at Apache::DBI but will the following code for DBI work
> for the Apache::DBI?
[snip code]
Perhaps you should look at it first, ask questions second. :-)
http://search.cpan.org/perldoc?Apache::DBI
--
Chris Reinhardt -- [EMAI
I haven't looked at Apache::DBI but will the following code for DBI work
for the Apache::DBI?
use DBI;
$dbh = DBI->connect('dbi:mysql:mydb','foo', 'hoo');
$sql = "SELECT * FROM mytab";
$sth = $dbh->prepare($sql);
$sth->execute || die "Could not execute SQL statement: $!\n";
thanks,
-rkl
> I woul