Help! How do I convert stuff to HTML entities in custom theme admin panel
-
I’m in the midst of developing my own theme, based on what I know from hacking other themes, and I need help with the custom theme admin panel I’ve designed for it.
Basically, in my text boxes in the backend, when I enter text in to them and hit Save, they are returned with \s in front of the “s
I’m not really that familiar with PHP, so I did some research and learned about htmlspecialchars and htmlentities, but I just don’t know how to implement them properly. Here’s what I tried…
echo htmlentities($value['std']);
and a bunch of other variations of it. Could someone please enlighten me on my problem? Everything in the admin panel for my theme works fine, except for those backslahes… I guess it’s kind of hard to assess my problem without seeing what I’m working with… if someone really thinks they can help me out, let me know and I’ll lend you the source to work with.
Other than that, anyone got any suggestions?
??
- The topic ‘Help! How do I convert stuff to HTML entities in custom theme admin panel’ is closed to new replies.