![]() |
how to html decode this text <p>\n\tooooooooooooooooooooooo<\/p>\n ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: how to html decode this text <p>\n\tooooooooooooooooooooooo<\/p>\n ? (/showthread.php?tid=57518) |
how to html decode this text <p>\n\tooooooooooooooooooooooo<\/p>\n ? - El Forum - 03-20-2013 [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){ how to html decode this text <p>\n\tooooooooooooooooooooooo<\/p>\n ? - El Forum - 03-20-2013 [eluser]dinisptc[/eluser] \n\tooooooooooooooooooooooo<\/p>\n i want to show the text without the html tags just tooooooooooooooooooooooo thanks how to html decode this text <p>\n\tooooooooooooooooooooooo<\/p>\n ? - El Forum - 03-20-2013 [eluser]TheFuzzy0ne[/eluser] Google is your friend. http://php.net/manual/en/function.strip-tags.php |