I want to convert an integer from the DB into an Array, for example:
- I have the number of deliveries registered in the DB, let's assume that the 'x' production is completed in 5 deliveries.
- this number 5 is entered in the DB as a String, an integer.
- When in the system the user is delivering the production, he has to inform which delivery he is producing.
Dai I would like to pull a Select from 1 to 5 (which is the number of deliveries in this example). Does anyone know how I can for PHP verify that the number 5 in the example can be read from 1 to 5 ??