I need to find out, if a function parameter in my php-script is a regular string attribute or an array. How would I do that?
if(gettype($array) == "string"){return $array;}
...doesn't work. Or is there an error in this line? I'm new to php.
Aucun commentaire:
Enregistrer un commentaire