Send data without a form : Query String « Development « PHP






Send data without a form


<!-- http://127.0.0.1/phab/ph02/hiUser.php?userName=Andy
-->
<html>
<head>
<title>Hi User</title>
</head>
<body>
<h1>Hi User</h1>
<h3>PHP program that receives a value from "whatsName"</h3>

<?

  print "<h3>Hi there, $userName!</h3>";

?>

</body>
</html>

           
       








Related examples in the same category

1.Get query string
2.A Function to Build Query Strings