Brandon Orther wrote:
> $test($i)text = "$i";
> ^^----------------------I want this variable to get bigger
Try this:
$test{$i}text = $i;
(I'm not sure if this actually works)
or
$varname = 'test'.$i.'text';
$$varname = $i;
regards
Wagner
--
Three may keep a secret, if two of them are dead.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Using a variable in a variable Brandon Orther
- RE: [PHP] Using a variable in a variable John Huggins
- Re: [PHP] Using a variable in a variable Chris Lee
- Re: [PHP] Using a variable in a variable Sam Masiello
- RE: [PHP] Using a variable in a variable Alexander Wagner
- RE: [PHP] Using a variable in a variable Maxim Maletsky

