Repeat or While? What would work best to achieve this.
Scenario: I have 4 ticket numbers in a database. Each have a Ticket Number and Qty.
**** Brain fog tonight…over worked… **** feeling really stupid…
What i want to achieve is repeat all the tickets in the database, but repeat them as many times as the qty.
The desired output as below… would i need 2 repeats?? Because i can get the repeat data to show the list of tickets… but how do i repeat the ticket qty… nested repeat… or while loop…
12345543534534534511-1
12345543534534534511-2
12345543534534534511-3
12345543534534534511-4
12345543534534534511-5
adsaadadadadasdsadasd-1
adsaadadadadasdsadasd-2
adsaadadadadasdsadasd-3
99999999999999999-1
bbbbbbbbbbbbbbbbbbbbbbb-1
bbbbbbbbbbbbbbbbbbbbbbb-2
bbbbbbbbbbbbbbbbbbbbbbb-3
What will be the wappler way?
did it with a php while loop back in the day… but cannot get a simple repeat right in wappler…
Last updated: