Its all about Network Simulations, Internet of Things, Sensor Networks, Programming, etc

Network Simulator 2

Network Simulator 3

Post Page Advertisement [Top]

This scripts tells how to submit a form to the same page itself….

<form method=post action=”<?php echo $_SERVER['PHP_SELF']; ?>”>
Enter your Name: <input type=text name=user>
<input type=submit name=submit>
</form>
<?php
if(isset($_POST['submit']))
{
$user=$_POST['user'];
echo “Welcome Mr. $user”;
}
?>

No comments:

Post a Comment

Bottom Ad [Post Page]