How to specify how many times a loop script do?
I have a situation like this. If a customer choose a certain service, I have to provide this service for different times
Service A : 3 times
Service B : 20 times
Service C : 10 times
If a user choose such as service A, I want to create 3 new records in another table. If it is service B then create 20 new records.
The script maybe like this:
New Record Request
Insert some values to some field
So how to specify how many times the loop perform?