1<?php
2ob_start();
3if (isset($_POST['register'])) {
4 include_once $_SERVER['DOCUMENT_ROOT'].'/php-login-form/user-dbop.php';
5 $objUser = new User();
6 $objUser->insert($_POST['user_name'], $_POST['password'], $_POST['name'], $_POST['address'], $_POST['contact_no'], $_POST['about']);
7 header('location:index.php');
8}
9?>