COMPUTER APPLICATIONS
DATABASE MANAGEMENT SYSTEMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which statement will output $x onthe screen?
|
ECHO “
|
|
ECHO “$$X";
|
|
ECHO"/$X";
|
|
ECHO"$X;
|
Explanation:
Detailed explanation-1: -8. Which statement will output $x on the screen? Explanation: A backslash is used so that the dollar sign is treated as a normal string character rather than prompt PHP to treat $x as a variable. The backslash used in this manner is known as escape character.
There is 1 question to complete.