Jquery Split String Into Array Php Functions