RE: [PHP-DB] Error:Undefined index, for a simple line.

From: Date: Tue, 02 Oct 2007 01:21:27 +0000
Subject: RE: [PHP-DB] Error:Undefined index, for a simple line.
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-44098@lists.php.net to get a copy of this message
Chris try just initializing the variable $view = 0; // if int $view = ''; // if string Bastien> Date: Tue, 2 Oct 2007 10:55:06 +1000> From: dmagick@gmail.com> To: Bastien> chandan9sharma@yahoo.com> CC: php-db@lists.php.net> Subject: Re: [PHP-DB] Error:Undefined Bastien> index, for a simple line.> > Chris Carter wrote:> > Hi,> > > > Should I try Bastien> with _REQUEST. the form is using POST method.> > > > My code:> > > > Bastien> <?php> > $type = $_POST['type'];> > require_once Bastien> "auth/config.php";> > > > > > rest of the code.> > > > Bastien> Getting error:> > > > Notice: Undefined index: view in C:\Program Files\EasyPHP> > Bastien> 2.0b1\www\HSRS\install.php on line 2> > This can't be the code you're using because Bastien> you're not referencing > 'view' anywhere.> > -- > Postgresql & php Bastien> tutorials> http://www.designmagick.com/> > -- > PHP Bastien> Database Mailing List (http://www.php.net/)> To unsubscribe, visit: Bastien> 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

« previous php.db (#44098) next »