Combining a string and a number : String Concatenation « String « PHP
- PHP
- String
- String Concatenation
Combining a string and a number
<?php
$str = "This is an example of ". 3 ." in the middle of a string.";
echo $str;
?>
Related examples in the same category