How to Loop, regarding a Answers4points module in Cubepoints
-
Ok. I made an edit to the questions4points module in Cubepoints. It works. My intent is for the user to type in a number of points and to recieve the exact number they type back as their points. I was able to do it for 4 successfully, but I need to do this 750 times. I crash coursed myself into PHP only a few days ago and don’t know how to loop. I think a loop is what I need, but I don’t know how to begin it.
The original file by Slyspider is here :
https://cubepoints.com/forums/topic/answer-question-for-points-module/
and here https://pastebin.com/7eguC18nMy edits are here.
https://pastebin.com/Gf0q1PKvAny ideas on how to perform the loop? I feel like I’d have possibly set numerical values, or somehow make a list of numbers and their values.
- The topic ‘How to Loop, regarding a Answers4points module in Cubepoints’ is closed to new replies.