PHP

Simple PHP Dropdown Menu Example


 To get selected value use this < option value=”vivek” selected=’selected’>Vivek </ option>

 Use this at top for dynamic List

<?php
if(isset($_POST[“user”]))
{
$username = $_POST[“user”];
}?>