Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

WWWXXXAPC, docmd.close 2585, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text, how to setup procmail html2text, WWWXXXAPC., XXXCNZZZ

Links

XODOX
Impressum

#1: Error:Undefined index, for a simple line.

Posted on 2007-10-01 12:45:58 by Chris Carter

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-simpl e-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

Report this message

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

Posted on 2007-10-02 02:55:06 by dmagick

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

Report this message

#3: RE: Error:Undefined index, for a simple line.

Posted on 2007-10-02 03:21:27 by Bastien Koert

--_e7c15a0b-e236-4ef2-b2ae-67d7f82066ed_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Chris
=20
=20
try just initializing the variable
=20
$view =3D 0; // if int
=20
$view =3D ''; // if string
=20
=20
Bastien> Date: Tue, 2 Oct 2007 10:55:06 +1000> From: dmagick@gmail.com> To:=
chandan9sharma@yahoo.com> 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 co=
de:> > > > <?php> > $type =3D $_POST['type'];> > require_once "auth/config.=
php";> > > > > > rest of the code.> > > > Getting error:> > > > Notice: Und=
efined index: view in C:\Program Files\EasyPHP> > 2.0b1\www\HSRS\install.ph=
p on line 2> > This can't be the code you're using because you're not refer=
encing > 'view' anywhere.> > -- > Postgresql & php tutorials> http://www.de=
signmagick.com/> > -- > PHP Database Mailing List (http://www.php.net/)> To=
unsubscribe, visit: http://www.php.net/unsub.php>=20
____________________________________________________________ _____
Connect to the next generation of MSN Messenger=A0
http://imagine-msn.com/messenger/launch80/default.aspx?local e=3Den-us&sourc=
e=3Dwlmailtagline=

--_e7c15a0b-e236-4ef2-b2ae-67d7f82066ed_--

Report this message