function createvar($var) { ${$var} = 'foo'; global ${$var}; //or global $$var, i don't know it yet. }
This should work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
function createvar($var) { ${$var} = 'foo'; global ${$var}; //or global $$var, i don't know it yet. }
This should work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php