Search This Blog

echo in php

<?php

$num=21;

echo  " the number is $num ".' <br> ';

echo '  the number is $num<br>  ';

echo ' the number is '.' <br> '.$num;


?>

output :


the number is 21
the number is $num
the number is
21

Share Links

Related Posts Plugin for WordPress, Blogger...