Hello ppl, i want to know if mysql save some text special chars like the \n i have the nl2br() function to tranform \n in to html <br>, but for BOLD or UNDELINE text ? is there a special char saved in to mysql db ? and is posible to tranform it with PHP in HTML <b> or <u> tag ?
Pic
0
Newbie Poster
Recommended Answers
Jump to PostMysql is data storage. It has no knowledge of your html markup. So it would be best to just store the html as is.
All 3 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Pic
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.