Reply to thread

function hello() { $a='b'; $b='cheese'; }

hello(); echo $$a;


I need the above to output 'cheese', how can I set $$a to be used outside the function?


Thanks!


Back
Top