Answer & Solution
Answer: Option A
Solution:
In PHP, variables are declared using the
$ symbol followed by the variable name and assigned a value using the = operator. Hence, the correct way to declare a variable named "name" with the value "John" is $name = "John";.