What is the difference between $message and $$message ?
Answer Posted / keshab
$test = "example";
$temp = "test";
echo $temp // output is "test";
echo $$temp// output is "example";
thanks
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What is a stored procedure in mysql?
What is the difference between for and foreach?
What is the use of extract function in php?
What are the advantages of stored procedures, triggers, indexes in php?
What is strcmp () in php?
What is a comment in php?
How can you tell if a number is even or odd without using any condition or loop?
Why json is used in php?
Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
Tell me how to execute an sql query? How to fetch its result?
How to specify argument default values?
What is overloading and overriding in php?
When is a conditional statement ended with endif?
What is the difference between unset and unlink?
Why and where do we use htaccess?