I saw the following code snippet:
<?php
if(!empty($_POST)): // case I: what is the usage of the :
if(isset($_POST['num']) && $_POST['num'] != ''):
$num = (int)$_POST['num'];
....
if($rows == 0):
echo 'No';
else: // case II: what is usage of :
echo $rows.'Yes';
endif;
I would like to know what the usage of ":" in php code is.