Re: Assign multiple variables from mysql_fetch_row() call

From: Date: Thu, 06 Sep 2001 00:23:24 +0000
Subject: Re: Assign multiple variables from mysql_fetch_row() call
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66134@lists.php.net to get a copy of this message
> You wrote: > > >Sure it is. Lists or list context. () is not that hard to > > determine > > >what it means. At least, not nearly as hard as you make it out to > > >be for any moderately-experienced programmer. > > > > So it's easy to look it up is if you already know what it does? I > > think the majority of people looking it up would be > > not-so-experienced programmers :) > > Yes, but an inexperienced programmer wouldn't know where to look for > list, either. When you see ($foo, $bar), you know two or more items are > a list. What is a list? Two or more items. What do you have there? > Two or more items. Rather simple and intuitive to me. *shrug* > > The way you learn to problem shouldn't be looking something up to find > out what it does, but rather learning what everything does, then > applying it by doing the programming afterwards. This sort of backwards > thinking is what causes problems in the first place. :\ A rather pointless thread... But that last phrase is pure gibberish to me. If I see foo($blah,$blah) in some code, I'll do a quick grep to see if foo() is a locally defined function and if it isn't check if it is a built-in function by checking the documentation. But perhaps I am a weird and backwards sort of guy. -Rasmus

« previous php.general (#66134) next »