P Phil New member Feb 26, 2011 #1 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!
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!