Explain with an example how to insert javascript in php code.


Explain with an example how to insert javascript in php code.

JavaScript can be inserted by specifying the language as:-

<?
<script language=’javascript’>
Code goes here
</script>
?>

Leave a comment