Ask Question
6 December, 04:48

Which of the following represent correct syntax to display first name from global variable user? Select the one correct answer.

a. {User. FirstName}

b. {! User. FirstName}

c. $User. FirstName

d. {!$User. FirstName}

+2
Answers (1)
  1. 6 December, 08:23
    0
    Option D i. e., {!$User. FirstName} is the correct answer.

    Explanation:

    The following option is correct because in the following statement, the user programmer will ask to display the first name by using the global variable then, in the PHP Programming Language the following is the correct way to display the first name of the user, which is inside the curly braces then, not operator and then, name of the variable through which it call.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following represent correct syntax to display first name from global variable user? Select the one correct answer. a. {User. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers