$var=1; $var2="$var"; echo $$var2; It´ll echo the $var´s value.
Hope it´ll help you. "Alex Major" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Thanks for your help with my other question, heres a new one for you. > > I need to nest a variable, inside another variable. For example: > > $($buildingname)level > > How (if at all) is this possible? > > Thanks. > Alex. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php