Mr_J Posted September 16, 2008 Share Posted September 16, 2008 If I do this: echo 6 + 12 < br >; I get Unexpected bla bla bla with '<' in the browser. When I take it out, it works BUTTT I`m doing this: echo 6 + 12; echo 2 * 10; echo 24 - 5; etc. How do I add a break after the num? I also tried echo '6 + 12' < br >; No luck... Link to comment https://forums.phpfreaks.com/topic/124478-solved-stupid-question/ Share on other sites More sharing options...
Mchl Posted September 16, 2008 Share Posted September 16, 2008 echo 6+12 . "<b r/>"; Link to comment https://forums.phpfreaks.com/topic/124478-solved-stupid-question/#findComment-642809 Share on other sites More sharing options...
Garethp Posted September 16, 2008 Share Posted September 16, 2008 Close, but you need echo 6 + 12 . "<br>"; to add the <br> for html Link to comment https://forums.phpfreaks.com/topic/124478-solved-stupid-question/#findComment-642811 Share on other sites More sharing options...
Mr_J Posted September 16, 2008 Author Share Posted September 16, 2008 echo 6+12 . "<b r/>"; THANK YOU again... Link to comment https://forums.phpfreaks.com/topic/124478-solved-stupid-question/#findComment-642817 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.