ridiculous Posted September 6, 2008 Share Posted September 6, 2008 Does PHP have a print function that automatically breaks to the next line? i.e. => Java : println Link to comment https://forums.phpfreaks.com/topic/122979-php-equivalent-of-println/ Share on other sites More sharing options...
teng84 Posted September 6, 2008 Share Posted September 6, 2008 when it comes to output that php generates PHP is no longer connected into that that is already html so if you want new line add < br > on it or any html tags that does the same thing Link to comment https://forums.phpfreaks.com/topic/122979-php-equivalent-of-println/#findComment-635082 Share on other sites More sharing options...
wakenbake Posted September 6, 2008 Share Posted September 6, 2008 append a "\n" to your string for new lines... Link to comment https://forums.phpfreaks.com/topic/122979-php-equivalent-of-println/#findComment-635085 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.