How to insert a new line break within the php code -


<?php echo nl2br($valueu->getarea($rows['province'].'|'.$rows['city'].'|'.$rows['area'],' ')); ?></td> 

how put line break in between city , area when outputted browser.

thanks

use \n. add sting i."\n" pie.

you can use nl2br echo nl2br("one line.\nanother line.");


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

linux - phpmyadmin, neginx error.log - Check group www-data has read access and open_basedir -