Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

Re: [PHP] $myfile[$count]_type?! From: Matt McClanahan (cardinal <email protected>)
Date: 03/27/01

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>