while loop works on local server but not on the production server

Printable View