hmmmmmmmmmm
Dear...
For your information...
PHP and JAVA script are completely different..
PHP is server side scripting language
and JavaScript is client side scripting language...
<html>
<head>
<body>
<input type="text" name="value1">
<input type="text" name="value2">
<input type="button" name="mybutton" value="click" onclick="madhu();">
</body>
</head>
<script language="javascript" type="text/javascript">
function madhu(){
JAVASCRIPT CODE GOES HERE
}
</script>
</html>
fst read PHP , HTML and JS -- then you will clearly get the difference..
and will not get this types of error... ANd also u will become independenet programmer..
for any help
contact...
dharam.new@gmail.com
cheears
Dharam....