RE: Connecting to DB

2002-03-28 Thread Michael Gargiullo
ate,county,zip,areacode)VALUES($new[0],$new[1],$new[3],$new[2],$ new[5])'); $action->execute || die print "$! - DB Error"; } # Print to Terminal if($printToTerm==1){ print "@new\n"; } -Original Message----- From: Crook, Richard W [mailto:[EMAIL PROTECTED]] Sent

RE: Connecting to DB

2002-03-28 Thread Crook, Richard W
Looks like you need to declare my $dbh, my $action, my $passwd up where you've declared the others or just turn off strict. To debug your database statement try: die $action to see what the script is sending to the database -Original Message- From: Michael Gargiullo [mailto:[EMAIL PROTEC