SyntaxFix
Write A Post
Hire A Developer
Questions
array_push — Push one or more elements onto the end of array
Take note of the words "one or more elements onto the end" to do that using $arr[] you would have to get the max size of the array
$arr[]