This is my php code.
if (isset($_POST['submit'])) { $uname = $_POST['uname']; $pass= md5($_POST['pass']); $level = $_POST['ulevel']; $role = $_POST['urole'];}
This is HTML code
<div id="alevel" style="display: none"> <select id="select" name="urole"> <option value="">Select Role</option> <option value="admin">Admin</option> <option value="editr">Editor</option> </select> </div>
I want after submit select role in urole value POST to $role
#javascript #php #html #jquery