I am trying to click a link that was generated through PHP (I extracted the data and made them into strings). I would like to use part of the string incorporated into a link to execute another PHP script. My problem is I can not pass the variable to another PHP file by clicking on the link. NOTE: this code is between PHP tags.
This works:
<a href=StandAloneRotate.php?bearingstate=TN>
This does not work:
<a href=StandAloneRotate.php?bearingstate=$State>
I guess my problem is incorrect syntax after the = sign. Any help would be appreciated.
if this won’t work, try var_dump