Thanks indeed! Actually I feel so bad that I found many codes without enough explanations...:-)

Nan

From: Chris Devers <[EMAIL PROTECTED]>
Reply-To: beginners@perl.org
To: Nan Jiang <[EMAIL PROTECTED]>
CC: beginners@perl.org
Subject: Re: Help, single quotation mark conflicts error in SQL statement!
Date: Fri, 8 Jul 2005 10:14:32 -0400 (EDT)

On Fri, 8 Jul 2005, Nan Jiang wrote:

Anyway, can I just use this statement below instead of yours as I set id is INT with AUTOINCREMENT?

my $sql = q[INSERT INTO table1 VALUES (?, ?, ?)];

Absolutely.

Experiment with it, and use the approach that works best for you.

Never take the code that some stranger on the internet posted without looking it over and adapting it to your needs. :-)


--
Chris Devers



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to