String Concatenation Operators : String Operators « String « PHP





String Concatenation Operators

<?php
     $header = "<html>\n"
             . "<head>\n"
             . "<title>String Operators</title>\n"
             . "</head>\n"
             . "<body>\n";
     $body_content = "body<br />\n";
     $footer = "</body>\n"
             . "</html>\n";
     $page_content .= $header . $body_content . $footer;
     print($page_content);
?>
           
       










Related examples in the same category

1.String Operators summary table