Re: Error:Undefined index, for a simple line.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Carter wrote:
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

This can't be the code you're using because you're not referencing 'view' anywhere.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux