Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //works
- $qty = '959';
- // Looping thru the start Numbers
- for ($i = $qty; $i >= 0; $i--) {
- if($i == $qty){
- $newNo1 = $this->orderData->check_number;
- }
- //Does NOT work
- $qty = '1000';
- // Looping thru the start Numbers
- for ($i = $qty; $i >= 0; $i--) {
- if($i == $qty){
- $newNo1 = $this->orderData->check_number;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement