RE: [PHP] Variable problem
| From: | Yoel Benitez Fonseca | Date: | Fri, 18 Jan 2002 19:26:08 +0000 |
| Subject: | RE: [PHP] Variable problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81141@lists.php.net to get a copy of this message | ||
Use an array !?, I mean :
$result[$i] = "test";
> How do I combine the following so it is treated as one variable
>
> $i=10
>
> $result$i="test";
>
>
> I want this to be:
>
>
> $result10="test";
>
>
> $i changes so I cannot just put in 10 instead of I.
>
>
> anybody know how i can do that?
--
Yoel Benitez Fonseca