You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are not supposed to change super global variables, they contain values parsed and specific to the the request so that is not supported. If you need to manipulate the values and use them later on in your code, you should move them to your own custom variables. The request helper class supports custom variables and is available on everywhere, so you could always take advantage of that:
I have code like that:
I want to make "stock" value "-1" when "stockStatus" is 0. But the "stock" value does not change.
How can I set post value?
The text was updated successfully, but these errors were encountered: