I finally got the following few lines of code to work:
$userdb=$feilds{'user'};
$rows=$dbh->do
("INSERT INTO bandbook (user, ect, ect, ...)
VALUES(?,?,?,?,?,?,?)", undef, $userdb,
'ect', 'ect', )
|| die "fucked up inserting data: $DBI::errstr";
print "$rows row(s) added to ba
On Saturday 03 November 2001 04:26, paco anubis wrote:
> Hello,
> I started learning Perl 4 weeks ago and mysql 3 days
> ago so I know that I am in over my head, but here goes
> nothing. I am trying to build a Perl CGI application
> (using DBI) to pass form contents from a web page
> directly int
oops, I meant to type Perl for 4 weeks, I am using
version Perl 5.6.0
--- Michael Ayres <[EMAIL PROTECTED]> wrote:
> Hi Paco,
>
> If I could make a suggestion... I think you'll be
> much happier using a
> newer version of perl than 4. With perl 5 and up
> you get to use the
> wonderful featur
Hi Paco,
If I could make a suggestion... I think you'll be much happier using a
newer version of perl than 4. With perl 5 and up you get to use the
wonderful features of DBI (Perl's database interface module) and DBD
(database drivers such as the one for Mysql). Not without saying you'll
g