Php Find Element In Array Javascript Push Method In Js