On Mon, Jul 08, 2002 at 10:49:12AM +0300, adi wrote:
> $string="-line1\n -line2 \n-line3";
>
> $result2 = db_query("update table1 set column1= '$string' where ID =
> '$IDcurent'") or db_die();
> When i try to view in a textarea control the new value from column1, the
> newlines disappear!
We
I have a problem in php page:
i want to insert into mysql database value $string with newlines:
$string="-line1\n -line2 \n-line3";
$result2 = db_query("update table1 set column1= '$string' where ID =
'$IDcurent'") or db_die();
When i try to view in a textarea control the new value from colum
2 matches
Mail list logo