Hi,
I want the user to be able to use a textarea (also displaying the current data from a row inside it) and edit the text, click submit and it update the table column.
I also want to know if this will detect breaks/ new paragraphs or if there will be something i need to add to get it to do this.
Any help, much appreciated.
thanks.
Dynamic PHP/MySql Text Update
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
As feyd said, characters like newlines and tabs will be saved in the database field and retrieved when you fetch that row. The upside is that the text is formatted as person entered it when you reload. A downside is that if you ever want to export to tab/other delimited then you will need to remember to strip out those characters.
(#10850)