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! 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] 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
Archived
This topic is now archived and is closed to further replies.