Re: How to construct variable names ?!

From: Date: Sat, 25 Nov 2000 20:45:56 +0000
Subject: Re: How to construct variable names ?!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27178@lists.php.net to get a copy of this message
On Sat, Nov 25, 2000 at 08:31:22PM +0100, Juergen Hall wrote: > I have a string array like > $fuse > and get its values by > $fuse[0], $fuse[1], ... and so on > > how do i generate corresponding > variables like > $fuse1, $fuse2, ...and so on I think someone answered your question. But just out of curiosity, why would you want to do this? Arrays are there so you don't have to do stuff like that :)

« previous php.general (#27178) next »