0
if(empty($U_name)){
    $msg .= "Name can not be empty <br>";
}
if(empty($U_user_name)){
    $msg .= "Username can not be empty <br>";
}
echo "<div class='error'>".$msg."</div>";

here .(dot) is the concatenation operator. could anyone please make me clear the code of the last statement.

0 Answers0