search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
16 views
asked Guru 24.6k points 29 52 81

1 Answer

0 votes
They are both variables. But $var is a variable with a fixed name. $$var is a variable who's name is stored in $var. For example, if $var contains "message", $$var is the same as $message.
answered Guru 39.1k points 10 21 33

Related questions

0 votes
2 answers 32 views
32 views
asked sara Guru 24.6k points 29 52 81
0 votes
1 answer 50 views
0 votes
1 answer 54 views
54 views
asked smith Geek 15.3k points 16 41 63
0 votes
2 answers 30 views
30 views
asked smith Geek 15.3k points 16 41 63
0 votes
2 answers 40 views
40 views
asked john Guru 27.1k points 31 50 97
...