Re: Hopiing for some leads as to what may be wrong in this code [message #182328 is a reply to message #182317] |
Sun, 28 July 2013 15:48 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Fiver wrote:
> On 2013-07-27 12:17, Thomas 'PointedEars' Lahn wrote:
>> I do not see how a $_POST element could ever be *not* a string
>
> <input name="foo[]" value="bar">
True, I forgot about that. But in this case you would not use a simple
comparison.
PointedEars
--
> If you get a bunch of authors […] that state the same "best practices"
> in any programming language, then you can bet who is wrong or right...
Not with javascript. Nonsense propagates like wildfire in this field.
-- Richard Cornford, comp.lang.javascript, 2011-11-14
|
|
|