PHP Coding Tips

Friday, August 17, 2012

PHP Array add element - how to append element to an array

If you have a PHP array and wants to add element to it, you can do it just in this way:$myArray[] = 'new element'; This will add element to php array at its end

17 comments:

  1. EFA588ABA4Aurelia3CFD5205F3January 2, 2025 at 11:47 AM

    C70953D141
    fake takipçi

    ReplyDelete