Hi
I have declared one field fname . and checking whether particular field is available or not using isset. Its not working.
My code is :
<html>
<body>
<form action ="uploadphp.php" method = "post" >
FName : <input type ="text" name = "fname"> <br /><br />
SName : <input type ="text" name = "sname"> <br /><br />
<input type ="submit" name "submit" value = "submit" /> <br/>
</form>
</body>
<?php
if (isset($_GET['fname']))
{
Echo "presence";
}
else
{
die ("error");
}
?>
</html>
above code gives me message as error.
Basically the field is present , so it should give me the presence.
i have turn off register_globals in php.ini file.
Please let me know what is wrong with this code.
//Manish n