daed17
08-25-2003, 04:47 PM
When a user enters a text message using the text box or textarea and the user enters " or ' php inserts / the first time and /// the second time into the message.
Example... user enters: what's this?
php shows: what\'s this (first time)
php shows: what\\\'s this (second time value is passed)
Is there an easy way to fix this using javascript?
Example... user enters: what's this?
php shows: what\'s this (first time)
php shows: what\\\'s this (second time value is passed)
Is there an easy way to fix this using javascript?