how can I set variable to a number and loop count from that number to a another with exception/ != certain numbers between variable set number and max loop count number so
$x = '1'
while ($x < = 10 ) do something
but what if I want to skip say 5 , 7 & 8 in code / something that follows
how can I do this ?
$x = '1'
while ($x < = 10 ) do something
but what if I want to skip say 5 , 7 & 8 in code / something that follows
how can I do this ?
Comment