Friday 28 February 2014

PHP TUTORIALS-GET METHOD

CODING FOR GET METHOD WITH EXAMPLE PROGRAM SESSON-2


Program name:- htmlget1.php

<html>

<head>

<body>

<h1><center>GET METHOD</center></h1>

<form action="get1.php" method="get">

Name:<input type="text" name="name">

Email:<input type="text" name="email">

<input type="submit" value="submit">

</body>

</head>

</html>


get1.php

 

Welcome<?php echo $_GET["name"];?>

Your Email Address is: <?php echo $_GET["email"];?>

No comments:

Post a Comment