<input type="radio" name="role" value="associate" /> </td> </tr> <tr> <td></td><td> <input type="submit" id="submit_user" value="Submit" /> </td> </tr> </table> </form> </div> <?php echo "<div style='Color:#FF0000; margin-top:15px;font-weight:bold; '>" . $_GET['created'] . "</div>"; ?> </div> <?php if ($_POST) { $name = $_POST['name']; $password = $_POST['password']; $email = $_POST['email']; $mobile = $_POST['mobile']; $address = $_POST['address']; $role = $_POST['role']; session_start(); include "class.docket.php"; $obj = new docket(); $obj->add_admin_manager($name, $password, $email, $mobile, $address, $role); } ?> </body> </html>