<?php $photoCount = 0; for($i = 0; $i < 5; $i++) { echo "Inner count is : ".$photoCount; die; // It displays the count } echo "Count is : ".$photoCount; die; // It doesn't display the count(404 Not Found Error)
You have javascript disabled. You will not be able to edit any code.