jeudi 14 décembre 2017

Test if a name equals a string

Is it possible to test if a name of an element is equal to some string using an if statement? For example:

    if(name of element == "string")
    {
       execute code;
    }

If it's possible, could I do it in PHP and what would be the syntax for it?

Aucun commentaire:

Enregistrer un commentaire