The code that works locally does not work in production
Hello, when I add the following code to my table, it always resets to the default state. It works fine locally, but in production, it always defaults.
I am using the same database.
Is there anyone who can help with solving this problem?
Solution:Jump to solution
I tried everything. As a result, the problem was solved when I used it with
intval($state)
2 Replies