Link to home
Start Free TrialLog in
Avatar of jabootyboy
jabootyboy

asked on

PHP; CORRECT NOTATION TO STORE VARIABLE NAME IN ARRAY - URGENT 500POINTS

What is the correct PHP notation to store a variable name in an array?




$A0=2;
$A1=3;
$array[0]='blah blah $A0 blah':
$array[1]='blah blah $A1 blah':

echo array[0];     --returns-->    blah blah $A0 blah
                           --not-->   blah blah 2 blah
ASKER CERTIFIED SOLUTION
Avatar of peyox
peyox
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jabootyboy
jabootyboy

ASKER

Thanks.