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
Chris
try just initializing the variable
$view = 0; // if int
$view = ''; // if string
Bastien Date: Tue, 2 Oct 2007 10:55:06 +1000 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] CC: php-db@lists.php.net Subject: Re: [PHP-DB]
Error:Undefined index, for a simple line. Chris Carter