PHP is how you get ants. :)
On a side note, all fields send in a post request are strings.
Use integers instead, then you can parse the string to a number, and check for 0 or 1.
Or use a JSON payload instead like Khalyomede suggests. ;)
JSON has boolean as a type
lmao your first sentence :')
I will started to use it, thnx dudes :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
PHP is how you get ants. :)
On a side note, all fields send in a post request are strings.
Use integers instead, then you can parse the string to a number, and check for 0 or 1.
Or use a JSON payload instead like Khalyomede suggests. ;)
JSON has boolean as a type
lmao your first sentence :')
I will started to use it, thnx dudes :)