Display text in the text-field

wxdqz

New Member
Dear all,

In the mysql table, the data was collected, with the text including the font, bold and italic in html format. Here is the example, stored in the variable, $text,

$text="<font size=2> <font color=red><b><i>Signal no. three is now hoisted</i></b></font></font>"

However, if I want to display in the form object, such as text-field, to be amended, it is quite strange to display the text including the <font>,<i>,<b>, Therefore, I want to remove all these codes. Please give me solution, thanks

Sincerely yours,
Simon
 
Back
Top