ic
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: AW: Using mysql
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&qu
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
I would use Apache::DBI.
Denis
Lust auf mehr - http://maedls.at
"THINK THE WEB WAY."
---
NCM - NET COMMUNICATION MANAGEMENT GmbH
---[ Denis Banovic - CTO
mailto:[EMAIL PROTECTED]
---[ Mühlstrasse 4a
AT - 5023 Salzburg