RE: [PHP] Variable dynamique

2001-03-12 Thread PHPBeginner.com
do this: ${$var.$num} But, as I can only guess you are not very familiar with arrays, they usually better for most of your needs. I think this is what you have to learn instead. www.php.net/arrays Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EM

Re: [PHP] Variable dynamique

2001-03-11 Thread Christian Reiniger
On Sunday 11 March 2001 16:58, you wrote: > I receive 2 variables, $var and $num > I need to make a variable out of these two like this > > $var2 where $num = 2 or > $var3 where $num = 3 > > How can I do that ? http://php.net/manual/en/language.variables.variable.php -- Christian Reiniger LGDC