how to html decode this text <p>\n\tooooooooooooooooooooooo<\/p>\n ? |
[eluser]dinisptc[/eluser]
how to html decode this text <p>\n\tooooooooooooooooooooooo<\/p>\n ? i used ckeditor to edit the text and then it was saved in mysql database like this <p>\n\tooooooooooooooooooooooo<\/p>\n now i am using rest api to send it to an ipad app i did use these to functions below but its not working: $row['htmlmb']=mb_convert_encoding($row['descriptive'], "UTF-8", "HTML-ENTITIES"); $row['htmldec']=htmlspecialchars($row['descriptive']); Code: function get_myprojects_admin($status,$user_id){
[eluser]dinisptc[/eluser]
\n\tooooooooooooooooooooooo<\/p>\n i want to show the text without the html tags just tooooooooooooooooooooooo thanks
[eluser]TheFuzzy0ne[/eluser]
Google is your friend. http://php.net/manual/en/function.strip-tags.php |
Welcome Guest, Not a member yet? Register Sign In |