Dear all,
I want to submit the texts with different styles, for example,
$text=< font color yellow > < b > abc </b> </font> <font color yellow> >"20" </font>
Since the $text contains some code just like < b > and < /b > but also the symbol greater, ">". it is difficult to distinguish between html code and the symbol contained in the texts. Therefore, if data are directly stored in the database or extracted from the database and shown in webpage, it will make undesirable display.
please give some method, thanks.
Sincerely yours,
Simon
I want to submit the texts with different styles, for example,
$text=< font color yellow > < b > abc </b> </font> <font color yellow> >"20" </font>
Since the $text contains some code just like < b > and < /b > but also the symbol greater, ">". it is difficult to distinguish between html code and the symbol contained in the texts. Therefore, if data are directly stored in the database or extracted from the database and shown in webpage, it will make undesirable display.
please give some method, thanks.
Sincerely yours,
Simon