$_post not getting info

i’m trying to follow a tutorial youtube.com/watch?v=v8HoVdenZFM
and most of it works except for the last part. I can’t get the name in the variable from the global.js file to the named.php.
If i echo the content of the variable in the global.js file it works fine. but if i echo out the same variable in the named.php file it displays nothing. everything else about this tutorial is working except this.

Please can someone help. :frowning:
I have done a lot of reading on the w3 schools site on the commands and think i have a basic understanding of both files but can’t workout why the variable content is not available.

Paste the relevant code here, including how you post the variable and how you try to use it

Sorry i worked it out. please close

Sponsor our Newsletter | Privacy Policy | Terms of Service