when it is inserted i use
Code: Select all
htmlentities($val);when it needs to be shown on a page i use
Code: Select all
stripslashes($edit1їval]);that works too, my problem is that it does't show as it was mean't to be, e.g.:
Code: Select all
text
text text text text
text text textwht can i use to make sure it shows as it was posted.
also can htmlentities(); stop users from useing java script in the posts?
cos i tried with <b> and it allowed that
i hope you understand what i am talking about cos i don't
thanks for your hlp in adv.