2021年1月27日星期三

How to Pass a JavaScript variable from one PHP file to another PHP file

i have a JavaScript variable "A" inside "maps.php ". I want display the value of "A" inside another php file called "myfile.php" . Sorry if this is too simple. Cant get around it as I'm new to web development. Thanks !!

myfile.php

<?php    ?>    <!DOCTYPE html>  <html lang="en">  <head>      <meta charset="UTF-8">      <meta name="viewport" content="width=device-width, initial-scale=1.0">      <title>Document</title>  </head>  <body>            <script> GET Value of "A" from First.php </script>    </body>  </html>  
https://stackoverflow.com/questions/65929720/how-to-pass-a-javascript-variable-from-one-php-file-to-another-php-file January 28, 2021 at 09:21AM

没有评论:

发表评论