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>
?>
JavaScript can be inserted by specifying the language as:-
<?
<script language=’javascript’>
Code goes here
</script>
?>