<script type="application/javascript">
<script type="text/javascript">
function hello() { alert("Hello It works"); }
</script>]
<input type='button' name='Release' onclick='hello();' value='Click to Release'>
almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376
you do not need <?php ?>
this is a html block
in your php file you can
<?php
//bla bal bla php code
?>
html code block
bla bla
<?php //continue php
//or
echo "html block";
//or
print<<<END
html block
END;
?>
all of which will put the javascript into the php file without error
You need to read more of the php manual
almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376