![How to add element to php array How to add element to php array](https://www.exevor.com/assets/uploads/files/thumb_small_sizeadd-or-remove-element-in-php-array1669042884_52914983f91c54017455.jpg)
Adding an element to PHP array and removing an element from php array is very simple. PHP has in-built function to perform this. A function array_push() is used to add an element to PHP array
Adding an element to PHP array and removing an element from php array is very simple. PHP has in-built function to perform this. A function array_push() is used to add an element to PHP array