php echo in javascript variable code example Example: javascript variable store in php <script> var a="Hello"; </script>