use addslashes
"update table1 set column1= '".addslashes($string)."' where ID =
'$IDcurent'"
Adi wrote:
> tx, it's working now
> but i still have a problem:
> i want to insert into mysql database value $string:
>$result2 = db_query("update table1 set column1= '$string' where ID =
> '$IDcure
tx, it's working now
but i still have a problem:
i want to insert into mysql database value $string:
$result2 = db_query("update table1 set column1= '$string' where ID =
'$IDcurent'") or db_die();
When i try to view in text area the new value from column1, the newlines
disappear!
ps.column 1 h
2 matches
Mail list logo