Welcome Guest, Not a member yet? Register   Sign In
database INSERT and UPDATE converts symbols to html code
#1

(This post was last modified: 03-10-2016, 09:37 AM by webmachine.)

I have a registration form. If I enter a word such as can't, the INSERT and UPDATE functions replace the ' with  in the database.

It will display fine, but if I populate the form with database entries in order to edit the information, the field shows
can't with the html code for ' instead of the ' .

If I then re-submit the form after editing, the html code for '  is replaced by & and the html code for '  in the database, and so on. 


This is really bad for the user. Besides I don't want the html code
for ' to be stored in the database, I want the actual word can't. What can I do to prevent this?
Reply


Messages In This Thread
database INSERT and UPDATE converts symbols to html code - by webmachine - 03-10-2016, 09:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB