1<form method="post">
2 <input type="text" name="deleteinput" class="button"/>
3 <input type="submit" name="deletebtn" class="button" value="Delete single user data"/>
4</form>
5 // php
6<?php
7 $name = $_GET['deletebtn'];
8 echo $name;
9?>
1$info = array('Doina', 'brown', 'long');
2
3// Listing all the variables
4list($she, $color, $hear) = $info;
5echo "$she has $color eyes color and $hear black hair.\n";
1<form method="post">
2 <input type="text" name="deleteinput" class="button"/>
3 <input type="submit" name="deletebtn" class="button" value="Delete single user data"/>
4</form>
5 // php
6<?php
7 $name = $_POST['deleteinput'];
8 echo $name;
9?>