Question : how to exit from if condition in php
Answered by : maleesha-rodrigo
if($bla): $bla = get_bla(); if(!empty($bla)) { do($bla); }
endif;
Source : https://stackoverflow.com/questions/4545769/php-exit-from-if-block | Last Update : Sat, 24 Sep 22