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 -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -