Is this correct? If not what is the correct syntax
I am new to php hence trying to learn.
To accomplish this (if you really need to know from PHP if the user has JS enabled) :