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. Link to comment https://forums.phpfreaks.com/topic/284110-having-problems-with-my-in-my-for-loop/ Share on other sites More sharing options...
JIXO Posted November 20, 2013 Share Posted November 20, 2013 You have a markup error, echo '<li>' . $integers[$i] . '<li>'; close the list tag echo '<li>' . $integers[$i] . '</li>'; 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. 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
Archived
This topic is now archived and is closed to further replies.