Answers for "how to write php in script tag"

PHP
0

how to write php in script file

phpVars["value1"]
phpVars["value2"]
Posted by: Guest on October-17-2020
0

how to write php in script file

<?php
$phpToJsVars = [
  'value1' => 'foo1',
  'value2' => 'foo2'    
];
?>
Posted by: Guest on October-17-2020

Code answers related to "how to write php in script tag"

Browse Popular Code Answers by Language