I am following a PHP course and the instruction calls for
foreach ($array as $value)
but ST3 keeps defaulting to
foreach ($array as $key => $value)
giving me an error
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\testsite.test\CMS\admin\includes\view_all_posts.php on line 6 ""; ""; ""; "";
Is there a way to get around this please?