Bloombells Posted November 20, 2013 Share Posted November 20, 2013 Hi all, I'm studying PHP and trying to get to grips with it. Hopefully you'll be able to help me on my quest to mastering PHP As you'll see in my output i've acquired more bullet points than needed, eeeeek! If you would be kind enough to look at my code and help me with this enigma i would be most grateful… …Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/284110-having-problems-with-my-in-my-for-loop/ Share on other sites More sharing options...
Solution JIXO Posted November 20, 2013 Solution Share Posted November 20, 2013 You have a markup error, echo '<li>' . $integers[$i] . '<li>'; close the list tag echo '<li>' . $integers[$i] . '</li>'; Quote Link to comment https://forums.phpfreaks.com/topic/284110-having-problems-with-my-in-my-for-loop/#findComment-1459243 Share on other sites More sharing options...
Bloombells Posted November 20, 2013 Author Share Posted November 20, 2013 Thanks JIXO. Quote Link to comment https://forums.phpfreaks.com/topic/284110-having-problems-with-my-in-my-for-loop/#findComment-1459245 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.