shamsoft
Jun 13th, 2007, 06:22 AM
Hi my dear
I have a problem in php/mysql
For example I write below text to textarea and save it to mysql:
Hi
I am ShaMSofT
and i like programming
bye bye
now i want to retrieving my data from mysql and use echo function to show it. like:
//save mysql data in $text
echo $text;
but this statement show below data:
Hi I am ShaMSofT and i like programming bye bye
i see my data in table of mysql and data saved all right like first code. now i do not know why php show it like third code
help me,please
thanks to all reader this topic :thumb:
--------------------
sorry for bad my english :o
I have a problem in php/mysql
For example I write below text to textarea and save it to mysql:
Hi
I am ShaMSofT
and i like programming
bye bye
now i want to retrieving my data from mysql and use echo function to show it. like:
//save mysql data in $text
echo $text;
but this statement show below data:
Hi I am ShaMSofT and i like programming bye bye
i see my data in table of mysql and data saved all right like first code. now i do not know why php show it like third code
help me,please
thanks to all reader this topic :thumb:
--------------------
sorry for bad my english :o