Displays Notice alongwith output
I am using XAMPP 5.5.19. While executing the array.php file, I am getting the following: "Notice: Array to string conversion in /opt/lampp/htdocs/phpacademy/array.php on line 5" alongwith the output on the browser.
Why am I getting the notice when in video it is showing only output?
PHP-and-MySQL Arrays 01-02 min 20-30 sec
Kindly compare you code with the code given in the Code Files link. This may help to rectify the error.