php-general | 2001032
Date: 03/27/01
- Next message: Steven Shepherd: "Re: [PHP] "DF" output"
- Previous message: Michael Champagne: "[PHP] Is it possible to have href link refer to same PHP file?"
- In reply to: FredrikAT: "[PHP] $myfile[$count]_type?!"
- Next in thread: FredrikAT: "Re: [PHP] $myfile[$count]_type?!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Steven Shepherd: "Re: [PHP] "DF" output"
- Previous message: Michael Champagne: "[PHP] Is it possible to have href link refer to same PHP file?"
- In reply to: FredrikAT: "[PHP] $myfile[$count]_type?!"
- Next in thread: FredrikAT: "Re: [PHP] $myfile[$count]_type?!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

