Modifying Perl script to write to MySQL?

2004-02-13 Thread Bob Afifi
The Perl script I use is currently writing the form results ($guestbookreal) to an html page (http://usedflutes.com/new_listings_publish.html): For example, INSERT INTO `mysql_db` (`Title`, `Email`, `City`, `State`, `Country`, `URL`, `Date`, `Description`, `rid`, `dt_create`, `publish` ) VALUES

Re: Modifying Perl script to write to MySQL?

2004-02-13 Thread Bob Afifi
(); } Rhino - Original Message - From: Bob Afifi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 13, 2004 8:00 PM Subject: Modifying Perl script to write to MySQL? The Perl script I use

Re: Modifying Perl script to write to MySQL?

2004-02-13 Thread Bob Afifi
Just to clarify a bit more (perhaps...), I already have: #!/usr/bin/perl use DBI; = and = $dbh = DBI-connect (DBI:mysql:host=localhost;database=my_db, my_id, my_password, {PrintError = 0, RaiseError = 1}); = preceding the $guestbookreal =