mgurain Posted August 29, 2004 Share Posted August 29, 2004 Hi all,, How can I send html code via a form to a text field in my DB table ? I tried to post it then displaying it from the db table but got amazing code (not the sent one) !! thanks in advance,, Quote Link to comment https://forums.phpfreaks.com/topic/1941-how-can-i-send-html-code-via-a-form/ Share on other sites More sharing options...
morpheus.100 Posted August 29, 2004 Share Posted August 29, 2004 Dont use stripslashes or strip_tags in your insert script. Quote Link to comment https://forums.phpfreaks.com/topic/1941-how-can-i-send-html-code-via-a-form/#findComment-6317 Share on other sites More sharing options...
mgurain Posted August 30, 2004 Author Share Posted August 30, 2004 Hi morpheus.100 ,, thanks for your imediate help (keep it like that) can you guide me getting some articles about : stripslashes & strip_tags ? thanks in advance,, Quote Link to comment https://forums.phpfreaks.com/topic/1941-how-can-i-send-html-code-via-a-form/#findComment-6318 Share on other sites More sharing options...
morpheus.100 Posted August 30, 2004 Share Posted August 30, 2004 php manual would be an excellent starting point, dont you think? Whilst reading, also check out htmlentities Quote Link to comment https://forums.phpfreaks.com/topic/1941-how-can-i-send-html-code-via-a-form/#findComment-6319 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.