Mysql
 SQL >> Database >  >> RDS >> Mysql

A capo mancanti stampando campo MySQL con tag br

Se stampi testo in una textarea e vuoi mostrare i tag come testo, usa htmlspecialchars.

Se invece vuoi veri a capo, sostituisci <br> con CRLF tramite str_replace.