I got a resultset from php, from which I want to display an one time result. It is mix of html and php as follows.
foreach ($folder_info as $show) {
if (isset($show['folder_name']) && ($check == 0)) {
echo '<div class="alert alert-info">';
echo 'Note! You could click on a Folder to view the images inside it.';
echo '</div>';
echo '<br/>';
}
}
By executing the above loop, I am getting the following:

and my result set array is like follows:-
Array (
[folder_info] =>
Array (
[0] => Array ( [folder_id] => 1 )
[1] => Array ( [folder_id] => 2 )
)
)
Any suggestions on how to improve my coding will also be helpful! I want to show the line only one time.
<br/>inside the loop, should i use out of loop?