>>
Site Map
>>
Forums
>>
Modules 7x
Forum module - topics in forum:
Modules 7x - Discussions regarding PHP-Nuke Modules. 7x
strange problem?
Hi guys
I'm having a problem with backslashes creeping into my code
When I create <BR> tags in my code, I save the page, and when I view the code again it's changed to <BR />. It's not that big of a deal, but I don't know if it's related, but on a number of modules I'm unable to use the ' character. If I use it and click save, the information doesn't get saved to the database, but I don't get an error either.
This happens on our Roster module and the Downloads module, and myabe in other places as well. It's more annoying on the downloads module because if I post a review, I have to be sure not to saying anything like "it's" or "I'm" because after I save it, nothing will have been saved and I'll have to do it all again.
I would search the forums, but I have absolutely no idea what I would be searching for with this. I searched for "html modules" hoping that it's a HTML thing, but nada.
Anyone heard of this strange issue?
As always, thanks in advance guys.
Mal.
Had a quick search around and heres some posts.
http://www.nukecops.com/postlite53638-addslashes.html
http://www.nukecops.com/postlite52845-addslashes.html
Don't really know if they'll help but worth a look.
if you write code in m$ word, it will always give "curly" quotes, instead of the straight "up-and-down" that you get in the html editor and the likes of this forum too.
i always hated the way nuke shows up the code in submitted news, and it's lack of formatting when the submitter uses html code. something i've grown acustomed to though. not that any of my sites get submissions though

Thanks Darren, and Mid, but unfortunately not joy.
It sounds as though I'm having the "magic quotes" issue, although everything that I can find on fixing it doesn't working. So far I've read that you can add a line to .htaccess (which locked me out of my sentinel protected site until I removed the line again) and adding a line to Index.php, which did nothing.
Does anyone have any clue how to fix this?
Thanks guys
Mal.