On Saturday, December 10, 2011 at 04:20:25 PM, Jon Forsyth wrote:
> Hello,
>
> I hope someone can help me solve this. I am trying to write 2 string
> values to separate fields of the same row in a mysql DB table using the
> Perl Module DBD::mysql. One string value is of English letters, while the
You can have the DBI give you debugging information:
DBI->trace(9);
> ---
> $dbh->do("INSERT INTO bama_xml (token_Arabic, variant) VALUES
> ('$arab','$engl');");
You really should be using placeholders. Something like,
$dbh->do ("... VALUES (? ?)"), {}, $arab, $engl);
-r
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql