Assume the attached flow chart is a homework assignemnt. It requires that you test a varibale, and if it has one value, you execute the first loop, and if it has the seccond value, you execute the second loop. your is to write me the simplified PHP code to execute this flow chart. Assume you have the variables you need, so don't write a POST statment. What you want is one big IF statment, with two loops inside it.
Attachment:- flow chart.rar