hi,
this is a simple program it is not working...please do tell me whether my code is correct
<form>
<?php
function login()
{
print "<script>";
print " window.location='http://www.webs.com/hi.html'";
print "</script>";
}
print "<input type='button' name='butt' value='Apply Online' onClick=login() style='height :2em; width :7em; font-weight:bold; font-size:0.7em' >";
?>
</form>