Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's the best way to handle html <TEXTAREA> content from the form to the db and back again?

Status
Not open for further replies.

BobMCT

IS-IT--Management
Sep 11, 2000
756
0
0
US
Online research/comments seem to go a couple of directions. That is the consensus of you php guru's?

If one is currently using php v5.5 and plans to move to 7.x in the future, would there be any significant difference?

Thanks for all suggestions.[bigears]
 
best" way to handle it in what respect?

But based on the information at hand;

"escape" any 'special' characters (apostrophes for example) before storing and remove any escaping that was done when displaying the text in whatever form you intend to..

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top