Re: checking for null form fields fails

From: Date: Wed, 08 Aug 2001 07:36:43 +0000
Subject: Re: checking for null form fields fails
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-61762@lists.php.net to get a copy of this message
On Tue, Aug 07, 2001 at 11:58:51AM -0600, mike cullerton wrote: > > i don't use echo either. i use printf. i was just trying to pass along some > things i learned reading the manual that were related to the topic. Cool... finaly. You won't believe how many people use echo(). And I realy don't know why. But, hey, if we take a look at many of the (pieces of) scripts you see passing by on this list people don't seem to care about error-checking. Many of 'm don't even look at the logfiles or don't have anything logged into them. And ofcourse I have to admit what's so interesting about error-checking printf? Well... I say, you always have to check anything that returns a value. You can better check to much than not enough. You agree? > > > But you'll have to admit, using braces makes things a lot easier. > > i already did. Hmmmm... yeah... Oops... Sorry! Think my error-checking failed :) > > And because what this was all about was JavaScript (and not PHP), I must admit... it's a bit strange on a PHP-list but hey, the real problem he had was in the JS, so... > cool, i came in late in the thread. i _do_ use braces. i like braces. braces > are my friends. Most excellent, dude! :) > > > And ehhhh, who said anything about returning multiple values? > > again, just something learned from the manual. Ah... okay... Can be useful... But isn't that more of... you know... like RTFM?!?! But, hey; it's true alright. Do it all the time. Well... pretty often anyway. > i was only trying to pass on info about differences between function calls, > statements and constructs, and hopefully helping someone out in the process. Okay... "problem" solved. > isn't that what we do here? Sure is!!! CYa'round -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- H: +31 23 5516190 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#61762) next »