Re: print "$array[$i][0]" pukes

From: Date: Thu, 06 Mar 2003 02:44:39 +0000
Subject: Re: print "$array[$i][0]" pukes
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-138405@lists.php.net to get a copy of this message
print "$i :: {$manilist[$i][0]}\n"; David T-G wrote:
OK. That works, though it isn't pretty. Is there any way I can avoid doing the dot dance? I'd rather something like print "$i :: ${manilist[$i]}[0]\n" ; (which I know to not work! :-) than to have to open and close; that's just not very clean to me. I'm the sort who doesn't switch in and out of php parsing, either :-)
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#138405) next »