Naming Keys in Arrays makes it easier to verify you are interacting with the appropriate data in an array.
Related Articles

*NEW
PHP – File Upload Filter ($_FILES)
If you allow you users to upload files to your web server you will probably want to create some restrictions. You can block uploads based off of file size, extension, or if a filename already […]

*NEW
PHP Project (Simple) – Image Upload App
Previous Classes in Series: PHP Project (Simple) – Dynamic Photo Gallery Stream PHP Project (Simple) – Dynamic Photo Gallery Prerequisites: Basic LAMP, or Web Server Administration Verify pictures and folder have READ/WRITE permission for OTHER […]

PHP Programming (NEW)
PHP – Write to File – file_put_contents()
You can write variables to a file with file_put_contents(). If the file pointed to does not exist it will be created. By adding FILE_APPEND this will append data to the created file, if not the […]
Be the first to comment