Wednesday, March 6, 2019
Php two
<body>
<form action = "" method = "post">
<label> Enter name </label>
<input type = "text" name = "txtname"/>
<input type = "submit" value = "Save" name = "b1"/>
</form>
<?php
if(isset($_POST['b1'])){
$name = $_POST['txtname'];
?>
<h1> your name is : <?php echo $name ?> </h1>
<?php
}
?>
</body>
Subscribe to:
Post Comments (Atom)
-
Press windows + r type services.msc Select Standard Goto Dns Client Select Automatic Goto Function Discovery Resou...
-
<?php if (isset($_POST['b1'])){ $a = $_POST['username']; $b = $_POST['gender']; $c = $_POST['coun...
No comments:
Post a Comment