Sterin, Ilya wrote:

> The simple query is not enough.  Send in a part of your script that
> demonstrates the problem, so that someone can comment.  Try using quote()
> that might help, though I'll have to take a look at everything else you are
> doing.
> 
> Ilya


Ilja,

I iterate over every column of a table and for each column I do:

$vals[$i] = $dbh->quote($val);

Then I join the fields in @vals with:

"INSERT INTO MYTABLE (a, b, c) VALUES (" . join(',' , @vals) . ")"

That statement is then written to a file.

The error occurs later on, when I read the content of the file and 
prepare the contained statements one by one using

....->prepare($statement);


Thanks,
Martin

-- 
Martin Hesse    [EMAIL PROTECTED]

nova ratio AG - IT-Systemhaus fuer Produkte und Dienstleistungen
Ransbach-Baumbach
Germany

[EMAIL PROTECTED] 
Tel. : 02623 92420      Fax. : 02623 9242100

The information contained in this e-mail and any attachments is strictly 
confidential and may be legally privileged. It is intended solely for 
the use of the individual or entity to whom it is addressed. If you are 
not the named addressee, you are hereby notified that it is prohibited 
and may be unlawful to disclose, copy, distribute or store the 
information contained in this email.

Reply via email to