Hi, Should I try with _REQUEST. the form is using POST method. My code: <?php $type = $_POST['type']; require_once "auth/config.php"; rest of the code. Getting error: Notice: Undefined index: view in C:\Program Files\EasyPHP 2.0b1\www\HSRS\install.php on line 2 -- View this message in context: http://www.nabble.com/Error%3AUndefined-index%2C-for-a-simple-line.-tf4547517.html#a12976882 Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php