AW: AW: Using mysql

2003-09-26 Thread Denis Banovic
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

Re: AW: Using mysql

2003-09-26 Thread Chris Reinhardt
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

Re: AW: Using mysql

2003-09-26 Thread perl
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

AW: Using mysql

2003-09-25 Thread Denis Banovic
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