Re: newbee
| From: | Hendrik van Niekerk | Date: | Thu, 09 Jan 2003 17:58:04 +0000 |
| Subject: | Re: newbee | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130980@lists.php.net to get a copy of this message | ||
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
> >
>