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

Linux vanilla kernel on QEMU and networking with eth0 -

rdbms - what exactly the undo information lives in oracle? -

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