|
-
Jun 18th, 2004, 03:31 PM
#1
& < > |
Characters like this might be added to our input form. And will be stored in our MySQL database. But they are not validated in XHTML if we just print them as that. So I guess I should change them to & and so on before we show them on our page. Is there any PHP function that can do that or do I have to write a lot of lines that have to go though the text before I display it?
Probably the best solution is to do it when the text is uploaded, then we don't have to do it every time the page is viewed, but it's a bit late to think about that now, since we have a couple of Mb of data in 13 tables all ready...
Thanks for all oppinions.
ØØ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|