Php If Array Has Javascript Code Checker