echo nl2br(“break line with \n nl2br”);
‘nl2br’ function is used to echo ‘</br>’ from ‘/n’ which is used by mysql for new lines… So for mysql fields:
echo nl2br($rowchord[‘myfield’]);
Becoming a better Developer
echo nl2br(“break line with \n nl2br”);
‘nl2br’ function is used to echo ‘</br>’ from ‘/n’ which is used by mysql for new lines… So for mysql fields:
echo nl2br($rowchord[‘myfield’]);