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 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> 
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline

Reply via email to