":" Bir kullanım nedir

0 Cevap

Ben aşağıdaki kod parçası gördüm:

<?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;

":" Php kod I kullanımı bilmek istiyorum.

0 Cevap