Re: Array problem
| From: | Nicholas Kell | Date: | Wed, 27 Oct 2010 16:30:23 +0000 |
| Subject: | Re: Array problem | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309113@lists.php.net to get a copy of this message | ||
On Oct 27, 2010, at 11:26 AM, Steve Staples wrote:
> On Wed, 2010-10-27 at 12:14 -0400, Marc Guay wrote:
>>> As Nicholas pointed out, the extra underscore in the key is the issue.
>>
>> That's way too easy a fix. I think he should check to make sure his
>> version of PHP was compiled with the right extensions and that the
>> browser isn't doing something unpredictably bizarre when submitting
>> the form.
>>
>> Marc
>>
> maybe you could have overwrote the implode function, and if the
> value/array wasn't set, it could then to a str_replace('_', '',
> $value)
> so that it would "self correct" all your underscored mistakes and try
> again?
>
> j/k :)
>
> I really hate the ID10T mistakes i make like that... my best one, was
> where I used camel casing, and referred to a variable without a capital
> in it... took me a while to find it, cuz i was looking right at the
> error, echoing out the variable directly above it (writing it properly)
> but ignored the mis-typed variable name...
>
>
> Steve
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
If I only had a nickel for every time I did something like that..... I could probably buy a few of
ya's lunch!