Re: Assign multiple variables from mysql_fetch_row() call
| From: | Ryan Fischer | Date: | Wed, 05 Sep 2001 18:36:59 +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-66078@lists.php.net to get a copy of this message | ||
> > 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.
--
-Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/