Php If Array Has Javascript Tutorial