me102 Posted December 25, 2007 Share Posted December 25, 2007 My Problem, $empl is set alot of times not always the same amount or same value, The Input $empl = "Message 123 <br>"; $empl = "Message 1234 <br>"; $empl = "Message 12345 <br>"; $empl = "Message 123456 <br>"; I need to display every $empl. Output should be, Message 123 Message 1234 Message 12345 Message 123456 any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/83117-solved-i-dont-know-what-to-call-it/ Share on other sites More sharing options...
redarrow Posted December 25, 2007 Share Posted December 25, 2007 <?php $empl[] = "Message 123"; $empl[] = "Message 1234"; $empl[] = "Message 12345"; $empl[] = "Message 123456"; foreach($empl as $x){ echo $x; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/83117-solved-i-dont-know-what-to-call-it/#findComment-422785 Share on other sites More sharing options...
me102 Posted December 25, 2007 Author Share Posted December 25, 2007 Thank you very much. Quote Link to comment https://forums.phpfreaks.com/topic/83117-solved-i-dont-know-what-to-call-it/#findComment-422786 Share on other sites More sharing options...
redarrow Posted December 25, 2007 Share Posted December 25, 2007 very welcome happy xmas Quote Link to comment https://forums.phpfreaks.com/topic/83117-solved-i-dont-know-what-to-call-it/#findComment-422788 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.