Jump to content

html tags into form fields with php


Guest edwinsweep

Recommended Posts

Guest edwinsweep
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.