I am new at get/post methods. I create my own license manager plugin. I have completed 90% of things.
I have plugin.php?license=60f416581f911 link. my plugin checks this URL and gets JSON from there. I want to set license code system into this method.
to make this, in that PHP file, I wrote below code.
<?php
if ($_GET["license"] = "60f416581f911" ) {
//these code always work.In other words, if gives always 1 when I change license code
I want to work the code if the license code is true but they works always.to test it, I change the license code.
probably, it is related syntax?