0👍
✅
Use rule as
'integer|between:0,100'
it will initially get the data as a string. We need the validator to know that the data is an integer. After that, it will work.
Source:stackexchange.com
0👍
Use rule as
'integer|between:0,100'
it will initially get the data as a string. We need the validator to know that the data is an integer. After that, it will work.