Java Insert Element Into Array Php W3schools Foreach Js W3schools