In my local environnement everything is working fine but when I move my site on GoDaddy and I try to update a post, an '\' is added in front of each double quotes.
$sql = 'UPDATE '.$_REQUEST['id'].' SET description_'.$_REQUEST['lang'].' = :desc where id = 1';
try
{
$prepare = $bd->BD_Interne->prepare($sql);
$result = $prepare->execute(array(":desc" => $_REQUEST['raw_desc']));
$_SESSION['update'] = "good";
}
catch(PDOException $e)
{
$_SESSION['update'] = "bad";
echo $e->getMessage();
}
Is it a mysql configuration issue or I have to do something in php?