What is the difference between $message and $$message?

Answer Posted / umesh ms analytica-india

$message = "ume";

$ume = "All Interview dot com";


echo $message; // Output: ume

echo $$message; // Output: All Interview dot com

Is This Answer Correct ?    97 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how is it possible to know the number of rows returned in result set?

541


What is return value in php?

509


Why php is sometimes called as embedded scripting language?

481


What would occur if a fatal error was thrown in your php program?

534


How to read one character from a file?

534






Write a php script to get the largest key in an array?

511


Why should I store logs in a database rather than a file?

530


Is uploaded file php?

535


my english is not too good then what we apply for a php programer post

2013


What is artisan in php?

501


Where is session id stored?

511


What are the characteristics of php variables?

515


Explain NULL?

570


Can you convert php to html?

527


What is a variable cost example?

542