Hello everyone, my name is Magnus. I am stuck on a question by developing the website. I have found a useful program on the internet, but I did not know how to change the codes into my situation. My codes are shown here:(’_____’ are the parts I do not know how to finish)
<body> <input type='input' name='nick' id='nick'> <a href='test.php'>button</a> <script src="https://ajax.google.apis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <script> _______________; </script> </body>
<script> var test=_____________; </script> <?php echo"<script>document.writeln(test);</script>"; ?> </body>
Would you mind to answer me how to fill in those blanks? Thanks for your help!
Links I have referenced:
The link proves that the PHP code works: