On Jun 24, 2011, at 2:20 PM, Jim Giner wrote:

Call me backwards, but I prefer to keep my statements simple. I would first
obtain the POST value before trying to pull up an array element.

if (!isset($stype))
   (handle missing radio button)

for me (and the next guy who has to look at the code) this is simpler to
follow, IMHO.

Yeah, probably true, also probably saves a bit on dereferencing, dunno how PHP interprets things.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to