Jump to content

[SOLVED] Hidden input with quotes


jackpf

Recommended Posts

Hi all,

I'm having a problem with hidden inputs with quotes on my site. When someone goes to post on the forum, if someone has posted while they were typing, it will save their post into a hidden input and prompt them to continue.

 

However, the problem is that if the post contains quotes, it messes up the hidden input. I don't want to convert it to html special characters as the post may contain html.

 

Is there any way to escape the quotes?

 

Any help appreciated, Jack.

Link to comment
https://forums.phpfreaks.com/topic/152064-solved-hidden-input-with-quotes/
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.