Re: Assign multiple variables from mysql_fetch_row() call
| From: | Mark Maggelet | Date: | Wed, 05 Sep 2001 20:42:07 +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-66108@lists.php.net to get a copy of this message | ||
On Wed, 5 Sep 2001 14:36:59 -0400, Ryan Fischer (ryan@gigabee.com)
wrote:
>> > You wrote:
>> > > ($var1, $var2) is magic. I hate magic.
>> >
>> > It's not magic. It's just simpler.
>> >
>> > > What do you look up in the Perl
>> > > manual when you hit syntax like that?
>> >
>> > http://www.perldoc.com/perl5.6/pod/perldata.html
>>
>> I said "what" not "where". I still maintain that if you don't
know
>where
>> to look, () is not an easy thing to search for.
>
>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 :)