Rajesh77
06-25-2010, 07:45 PM
Hi Everyone ,
I have column of data type ntext in my table in database which contains the html content like
[code]
<p style="text-align: center" >this is sample text populated for testing </p>
<b style="text-align: center" >this is sample text populated for testing </b>
etc......
[code]
I want to display the text from database on to the browser . when i am simply getting the value from DB using php and displaying as
echo $row['description'] since the column is very huge the data is occupying
large space on the browser . so, i tried to display that text using the textarea tag in html but the textarea is displaying the content from database as it is with the html tags and not applying any html tags to output like
[code]
<p style="text-align: center" >this is sample text populated for testing </p>
<b style="text-align: center" >this is sample text populated for testing </b>
etc......
[code]
So i need to display the text from database on to the browser by using any tag which can reduce space occupied by text ??????????
Please help me .... Thank in advance ....
I have column of data type ntext in my table in database which contains the html content like
[code]
<p style="text-align: center" >this is sample text populated for testing </p>
<b style="text-align: center" >this is sample text populated for testing </b>
etc......
[code]
I want to display the text from database on to the browser . when i am simply getting the value from DB using php and displaying as
echo $row['description'] since the column is very huge the data is occupying
large space on the browser . so, i tried to display that text using the textarea tag in html but the textarea is displaying the content from database as it is with the html tags and not applying any html tags to output like
[code]
<p style="text-align: center" >this is sample text populated for testing </p>
<b style="text-align: center" >this is sample text populated for testing </b>
etc......
[code]
So i need to display the text from database on to the browser by using any tag which can reduce space occupied by text ??????????
Please help me .... Thank in advance ....