I hate to bother you folks on this one, but I need a solution-
I have a form that allows a user to EDIT information in their profile. The problem I am foreseeing is the use of special characters like a single quote.
I decided that the best bet would be to use addslashes() and stripslashes(). Well the form is populated with the users previously entered information- this way they can see what they want to change 🙂
Well everything is working, except when I test it using something like-
TONY's WONDERFUL LOGBOOK
In the form, instead of having the whole string, it is cutting it off still as such-
TONY
I have come to the consclusion that this is due to the input tag<input type='text' name='logbook' value = '$log_name'> . I have even tried htmlspecialchars() in the hopes that it will still show it, but it is giving me the same thing.
Does anyone have a work-around for this problem?