Prolem solved. Thanks to all those that assisted me.

Hendrik

"Joseph W. Goff" <[EMAIL PROTECTED]> wrote in message
004c01c2b813$33f181b0$bdcaa8c0@jg42000">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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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" <[EMAIL PROTECTED]> wrote in message
> > 003201c2b803$ada54f60$bdcaa8c0@jg42000">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" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > 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
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to