Possible Duplicate:
What does $$ mean in PHP?
I am new to PHP and I don't know what the difference between $a
and $$a
is.
If $a = 'b'
then $$a
is $b
.
This is a variable variable. They are evil. Use arrays instead (which do the same thing, but more maintainably and with the ability to use array functions on them).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With