text input and strings with double quotes
Posted: Sun Dec 28, 2003 10:43 am
I've done several searches but I'm getting nowhere with this problem. Consider that the user enters the following into a text input in a form:
I have no problem getting that into the database. The problem I have is when the record is called up for review and I attempt to display that string in the text input. The entire string is in the database and in the variable, but all that displays is:
Person was 6'3" tall, brown eyes, etc.
I have no problem getting that into the database. The problem I have is when the record is called up for review and I attempt to display that string in the text input. The entire string is in the database and in the variable, but all that displays is:
This is not a database or PHP question. I have no problems with that part. The question is how do I display in a text input box a string containing a double quote character?Person was 6'3