Re: [php-list] Undefined variables arggggg

2008-02-11 Thread Roshith Kaniyamchalil
Hi, It is because of NOTICE is 'on' in your php.ini file. To remove the displaying of these errors, Open your php.ini file and serach 'error_reporting'. It may appear more than once. And make a change in the last result as "error_reporting = E_ALL & ~E_NOTICE" and after that restart apache. Rega

Re: [php-list] Undefined variables arggggg

2008-02-11 Thread listgroups08
- Original Message - From: "Brian E Boothe" dang it here we go again: I'm getting these errors AGAIN !! on my PHP page: how do i get these NOT to show up and my code Actually WORKS using *PHP* *ver*. 5.1.6 Notice: Undefined variable: submit in c:\Inetpub\wwwroot\helpde

RE: [php-list] Undefined variables arggggg

2008-02-11 Thread Chris Wood
Use $_SERVER['PHP_SELF'] From: php-list@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian E Boothe Sent: Monday, February 11, 2008 11:30 AM To: php-list@yahoogroups.com Subject: Re: [php-list] Undefined variables arg that worked but how do i fi

Re: [php-list] Undefined variables arggggg

2008-02-11 Thread James Keeline
--- Brian E Boothe <[EMAIL PROTECTED]> wrote: > that worked > but how do i fix the error here ? > > echo "\n"; > * > Notice*: Undefined variable: PHP_SELF in > *c:\Inetpub\wwwroot\helpdesk.php* on line *86* You can decide what sort of warnings, errors, etc. will show up on the browser screen.

Re: [php-list] Undefined variables arggggg

2008-02-11 Thread Brian E Boothe
that worked but how do i fix the error here ? echo "\n"; * Notice*: Undefined variable: PHP_SELF in *c:\Inetpub\wwwroot\helpdesk.php* on line *86* > > [Non-text portions of this message have been removed]

Re: [php-list] Undefined variables arggggg

2008-02-11 Thread Gustavo Coutinho
On Mon, Feb 11, 2008 at 4:16 PM, Brian E Boothe <[EMAIL PROTECTED]> wrote: > dang it here we go again: > I'm getting these errors AGAIN !! on my PHP page: how do i get > these NOT to show up and my code Actually WORKS using *PHP* > *ver*. 5.1.6 > > Notice: Undefined variable: submit in c:\In

[php-list] Undefined variables arggggg

2008-02-11 Thread Brian E Boothe
dang it here we go again: I'm getting these errors AGAIN !! on my PHP page: how do i get these NOT to show up and my code Actually WORKS using *PHP* *ver*. 5.1.6 Notice: Undefined variable: submit in c:\Inetpub\wwwroot\helpdesk.php on line 61 Line 61 is

Re: [php-list] syntax error in array

2008-02-11 Thread Wade Smart
> Did you have a particular reason to place the coded values for each array > element in another array? Unless it is for compatibility with another system, > it seems like you are adding unnecessary complications. > > James 02112008 0959 GMT-6 Actually yes. There are four more values that go in

Re: [php-list] syntax error in array

2008-02-11 Thread James Keeline
--- Wade Smart <[EMAIL PROTECTED]> wrote: > > The code runs fine for me and when I tryed to extract the data I get full > > keys and values arrays. > > > > ie - > > > > foreach($NOAA_Weather_Codes as $key => $subarray) > > { > > $index++; > > echo ($index . ' ' . $key . ' '); > > forea

Re: [php-list] syntax error in array

2008-02-11 Thread Wade Smart
> The code runs fine for me and when I tryed to extract the data I get full > keys and values arrays. > > ie - > > foreach($NOAA_Weather_Codes as $key => $subarray) > { > $index++; > echo ($index . ' ' . $key . ' '); > foreach($subarray as $value) > { > echo($value . "\n"); >