Anyone have any knowledge of inserting PHP script into a Javascript????
Is it just a case of
<?php
?>
Or is there something else????
Since JS is client-side and PHP is server side, there is no way to run PHP code inside JS code.
Chris
<script language="JavaScript" type="text/javascript"> javascriptVariable = '<?=$phpVariable?>'; </script>