![]() |
textarea in mysql
hello guys
Any one can help me in my problem How can i send the content of a textarea to my mysql db? i've noticed that it won't send the <br>'s and stuff with it... Can someone post an example how to do it? The full code if it is possible... thanks in advance |
Re: textarea in mysql
I think you might have used some special characters in your textarea which would have prevented going into the DB.
If you try to send your textarea into MySQL database, what it says? |
Re: textarea in mysql
Hi,
I think you have to convert textarea content to html_entity_decode and then insert it into database. |
Re: textarea in mysql
thanks for suggestion
|
Re: textarea in mysql
You can try replacing the newline character with break tag before insterting it into the database.
|
| All times are GMT +5.5. The time now is 07:16. |