hi there,
i am facing some issues while putting some special characters like <> sign in mysql. Even if i pushed a value of a multiline text box with some hard enters, it doesn’t observe that and add that text without line breaks. I am using htmlentities($myVal,ENT_QUOTES); while inserting the record. In sql i have given LONGTEXT datatype to the field as the value may contain a good number of words in it.
Please tell me what should i do. One more thing, if i put something with “” it will add slashes before that in mysql and shows that while fetching the data to browser .
Pls. tell me if you need any further info from me.
Thnx.