Saturday 14 December 2013

if condition and concatinate in php

<?php
$variableName = "Yes";
if($variableName == "Yes")
{
    echo "Your variable Name is".$variableName;
}

?>

output:
Your variable Name isYes

No comments:

Post a Comment