Re: newbee

From: Date: Thu, 09 Jan 2003 22:09:10 +0000
Subject: Re: newbee
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-131009@lists.php.net to get a copy of this message
Prolem solved. Thanks to all those that assisted me. Hendrik "Joseph W. Goff" <jgoff@users.sourceforge.net> wrote in message news:004c01c2b813$33f181b0$bdcaa8c0@jg42000... > Without seeing some code I would guess that it is register globals issue. > It falls into the same explanation as the previous problem. You can fix > this in one of two ways. > 1) use the super globals > instead of $typeqty use $_POST['typeqty'] or $_GET['typeqty'] depending on > how it is passed. > 2) turn register globals on in the php.ini file. > > ----- Original Message ----- > From: "Hendrik van Niekerk" <hendrik.vanniekerk@centurytel.net> > To: <php-general@lists.php.net> > Sent: Thursday, January 09, 2003 11:58 AM > Subject: Re: [PHP] newbee > > > > Joseph > > > > I can get the errors to go away but then my example just shows a blank > page! > > The variable are not being passed through to the .php doc > > > > hendrik > > > > "Joseph W. Goff" <jgoff@users.sourceforge.net> wrote in message > > news:003201c2b803$ada54f60$bdcaa8c0@jg42000... > > > This is because of the default error reporting setting in the newer > > version > > > of php. This was not the case when your book was written. > > > In your php.ini file set error reporting = E_ALL & ~E_NOTICE and you > will > > > quit getting the 'Undefined Variable' notices. > > > ----- Original Message ----- > > > From: "Hendrik van Niekerk" <hendrik.vanniekerk@centurytel.net> > > > To: <php-general@lists.php.net> > > > Sent: Thursday, January 09, 2003 10:50 AM > > > Subject: [PHP] newbee > > > > > > > > > > Hi > > > > > > > > I'm very new to PHP. (have just bought the book "PHP and MySQL Web > > > > Deelopment") SAMS authors Luke Welling and Laura Thompson > > > > > > > > I working with the examples in the book. > > > > > > > > I have loaded MySQL, Apache and PHP onto a NT server. All the test > > passed > > > as > > > > per the examples in the book. > > > > > > > > Working with the the first example in chapter one. > > > > > > > > I have the HTML document that when the quantities are entered the > > > > "processorder.php" should be called to show the results and do some > > calcs. > > > > > > > > what happens is that the php file is called but I get an error > message: > > > > > > > > "Warning: Undefined variable typeqty in C:\apache > > > > group\apache\htdocs\processorder.php on line 23" > > > > > > > > this varialbe is defined in the html document exactly as in the php > > > > document. > > > > > > > > now this warning is repeated for all the variables that should have > been > > > > passed to the php for processing. > > > > > > > > What am I missing ? > > > > > > > > > > > > thank you in advance > > > > > > > > > > > > Hendrik van Niekerk > > > > > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, visit: > > > > http://www.php.net/unsub.php > > > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#131009) next »