What is the differece between $message and $$message?
$message is the standard way to create a variable and then also to reference the value of that variable when we want to print it, whilst we can use $$ to actually print the name of that variable rather than its value:
<?php
$message = "hello";
echo $message;//prints hello
echo "$$message";//prints $message
?>
Comment on this Question and Answer >>>
ASK A QUESTION
More other PHP Questions
Can PHP create PDF files for me?how can i put the value 1 or 0 into checkbox if we checked then 1 otherwise 0?
Can I include Javascript in my PHP code?
What is a constant in PHP?
How can I add branching logic to my PHP code?
