PHP/String/String Operators
String Concatenation Operators
<source lang="html4strict">
<?php
$header = "<html>\n" . "<head>\n" . "<title>String Operators</title>\n" . "</head>\n" . "<body>\n"; $body_content = "body
\n"; $footer = "</body>\n" . "</html>\n"; $page_content .= $header . $body_content . $footer; print($page_content);
?>
</source>
String Operators summary table
<source lang="html4strict">
Operation Operator Example String concatenation . $a . $b String concatenation assignment .= $a .= $b
</source>