0

Hello I have a big problem I don't know how I can solved this... I am trying to update on database poletextu set log = log + $a123 but this down code doesn't work this doesn't work

$a123 = '(fghg)';

mysql_query("update ".$db.".poletextu set log = log + ".$a123." where cos = ".$cos['id']." limit 1");

this down code working >>

mysql_query("update ".$db.".poletextu set log = 'asdasd' where cos = ".$cos['id']." limit 1");

and this too working

 $a123 = '123';
but when i change $a123 to text value this dont update 
    mysql_query("update ".$db.".poletextu set log = log + '$a123' where cos = ".$cos['id']." limit 1");

anyone know how I can fix it?

0 Answers0