Re: $myfile[$count]_type?!
| From: | Matt McClanahan | Date: | Tue, 27 Mar 2001 20:12:07 +0000 |
| Subject: | Re: $myfile[$count]_type?! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45775@lists.php.net to get a copy of this message | ||
On Tue, Mar 27, 2001 at 09:56:01PM +0200, FredrikAT wrote:
> Why can't I do $myfile[$count]_type?!
> What schould I do instead?
${$myfile[$count] . '_type'}
There are some examples in the user comments in this manual page:
http://www.php.net/manual/en/language.variables.variable.php
Matt