Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
can someone please point me in the right direction??#!C:/Perl/bin/perl.exe use CGI qw(:standard); use CGI; use CGI::Carp "fatalsToBrowser"; use DBI; $dbh=DBI->connect("dbi:ODBC:'driver=Microsoft Access Driver (*.mdb); d +bq=test.mdb'",'',''); $sth=$dbh->prepare("SELECT * FROM table1"); $sth->execute(); print header(); @information = $sth->fetchrow_array; foreach $test (@information){ print $test; print "\n<br>\n"; } $sth->finish; $dbh->disconnect;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problems with ODBC...
by dws (Chancellor) on Jan 29, 2002 at 02:53 UTC | |
|
Re: problems with ODBC...
by Chmrr (Vicar) on Jan 29, 2002 at 02:56 UTC | |
by nickel (Initiate) on Jan 29, 2002 at 03:03 UTC | |
by Ineffectual (Scribe) on Jan 29, 2002 at 05:19 UTC | |
by nickel (Initiate) on Jan 29, 2002 at 10:21 UTC | |
by dws (Chancellor) on Jan 29, 2002 at 10:25 UTC | |
by nickel (Initiate) on Jan 29, 2002 at 10:25 UTC |