I have a some PHP on a website that changes information based upon what the URL equals for example:
?gw=hello http://mywebsite.com/?gw=hello
Then I have this div that I would like to hide with Php kinda like this.
If ?gw= anything then the div is hidden.
My problem is, I have no clue how I can do that. If ?gw= is anywhere in the url, I want php to hide the div.
Hope my question makes sense! Thanks in advance for the help!
you can do this by using
isset()and check thatgwis setyou can write like