adspace


Can you tell the difference between $message and $$message?

Answer Posted / Imran

In PHP, the variable $message is a normal variable that can store data. On the other hand, $$message is a variable that contains the name of another variable. This is called a 'variable variable'. When using $$message, you are essentially referring to the variable whose name is stored in $$message.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current mysql version?

1105


How to Change a users password from unix shell.

1223


Which statement is used in a select query for partial matching?

1247


What is current version of mysql?

1084