Ask Question

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}

+1
Answers (1)
  1. 16 June, 11:13
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers