jackr1909 Posted January 30, 2012 Share Posted January 30, 2012 Hi everyone, i have a user posting system and i want to echo data so that any HTML tags of any kind will be regarded as plaintext, so that it will have no effect on the webpage, thanks Jack Link to comment https://forums.phpfreaks.com/topic/256027-php-echo-html-as-plaintext/ Share on other sites More sharing options...
darkfreaks Posted January 30, 2012 Share Posted January 30, 2012 http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/ Link to comment https://forums.phpfreaks.com/topic/256027-php-echo-html-as-plaintext/#findComment-1312487 Share on other sites More sharing options...
spiderwell Posted January 30, 2012 Share Posted January 30, 2012 or php's strip_tags() Link to comment https://forums.phpfreaks.com/topic/256027-php-echo-html-as-plaintext/#findComment-1312500 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.