MySQL Forums
Forum List  »  Perl

Please Help about update text
Posted by: Rıza
Date: February 15, 2007 04:40AM

this update is work but sometimes textarea include sql command sql command does not work.
error_log as follow
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that correspondsI..............


CODE:

$text5 = $q->param('textarea');


$sql = "UPDATE webs SET ackla='$text2', admin='$text3', admin2='$text4', sql_info='$text5' where ktgori='$text' ";

$sqlh = $dbh->prepare($sql);
$sqlh->execute();

Please help meeeeee :(

Options: ReplyQuote


Subject
Written By
Posted
Please Help about update text
February 15, 2007 04:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.