Guest edwinsweep Posted May 23, 2006 Share Posted May 23, 2006 hi everybody, im making a website where you can leave posts behind.all the posts are stored in a database! but when i write down a html tag like <h1> in my post or any other html tag it thinks it has to read it like html!while i want it to show up on my forum like <h1> in my message and not being it put into the source code!is there a easy way to do this?thanks in advance Eddie! Quote Link to comment https://forums.phpfreaks.com/topic/10253-html-tags-into-form-fields-with-php/ Share on other sites More sharing options...
Honoré Posted May 23, 2006 Share Posted May 23, 2006 try[a href=\"http://www.zend.com/manual/function.htmlspecialchars.php\" target=\"_blank\"]http://www.zend.com/manual/function.htmlspecialchars.php[/a] Quote Link to comment https://forums.phpfreaks.com/topic/10253-html-tags-into-form-fields-with-php/#findComment-38196 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.