Some php 7 for each loop help


Hi everyone,

I'm new to coding and have been set a task which I find confusing. I have been asked to ask a user to pick a number out of 0 to 10. I then have to create a loop that will enable me to find the highest and lowest numbers given by the user. I have no idea how to do this and would really appreciate some help.



Replace this line with your code.


If you are brand new to coding then I would recommend move over to the JavaScript track and work your way through that. It is much more forgiving language and easier to learn. Be sure you take in the HTML and CSS modules, in conjunction with JavaScript. Once having completed those modules you will be better prepared to embark on PHP.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.