Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread Niel Archer
> your general concept is correct...do it the right way > > I am not adhering to MY way but why isn't my fix OK? > > One variable fixed...fixing the rest would cause code gloat. I think you mean Bloat. Code doesn't take satisfaction from ruining your day, it just feels like it does. > I had a

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread Fred Silsbee
--- On Mon, 12/8/08, James Crow <[EMAIL PROTECTED]> wrote: > From: James Crow <[EMAIL PROTECTED]> > Subject: Re: [PHP-WIN] there must be better way to handle "Null" undefined > variables > To: [EMAIL PROTECTED] > Cc: "Daniel Brown" <[E

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread James Crow
On Mon, 2008-12-08 at 10:24 -0800, Fred Silsbee wrote: > if you read my original post you'd see that I already know this! > > I even inserted code to fix the problem. The problem is that the > > values of the variable THE FIRST TIME are undefined as shown by the code I > > inserted. > > I fixe

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread Daniel Brown
On Mon, Dec 8, 2008 at 1:24 PM, Fred Silsbee <[EMAIL PROTECTED]> wrote: > if you read my original post you'd see that I already know this! Fred, I read your original post (the whole thing, which - if you read the rules of these mailing lists, you'd see - you sent wrong, as usual). > The quest

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread Fred Silsbee
d the problem correctly not being a html guru! The question is again "Is there a better way?" --- On Mon, 12/8/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > From: Daniel Brown <[EMAIL PROTECTED]> > Subject: Re: [PHP-WIN] there must be better way to handle "Nul

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread Daniel Brown
For future reference, Fred, please only include the relevant code, not the entire script. On Mon, Dec 8, 2008 at 11:46 AM, Fred Silsbee <[EMAIL PROTECTED]> wrote: [snip!] > > Under windows, the first page has an error Notice: Undefined > variable: ExercisePrice in C:\Inetpub\wwwroot\new_blac

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread Fred Silsbee
AIL PROTECTED]> wrote: > From: justin <[EMAIL PROTECTED]> > Subject: Re: [PHP-WIN] there must be better way to handle "Null" undefined > variables > To: [EMAIL PROTECTED] > Cc: php-windows@lists.php.net > Date: Monday, December 8, 2008, 5:00 PM > This is mor

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread justin
This is more a matter of a php.ini setting. Check the values of error_reporting in both your php.ini on the Windows and Linux boxes. My guess is your windows value is E_ALL. -Justin Fred Silsbee wrote: Problem with the code below Works perfectly under Linux Fedora 9 however Under windows