Answers for "how to write php"

PHP
0

how to write in php

<?php
  echo "Hello WOrld";
?>
Posted by: Guest on July-27-2021
0

how to write php in script file

<script type="text/javascript" src="YourFunctions.js"></script>
<script type="text/javascript">
    functionOne(<?php echo implode(', ', $arrayWithVars); ?>);
    functionTwo(<?php echo $moreVars; ?>, <?php echo $evenMoreVars; ?>);
</script>
Posted by: Guest on October-17-2020

Browse Popular Code Answers by Language