PHP Combine Expression With String – String Function

<?
$centimeters = 212;
print "the width is ".($centimeters/100)." meters";
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.