Concatenation for a beginner

Please concatenate this into one echo statement
$opening_h2 = ‘

’;
$hello_world_2 = ‘Hello World’;
$closing_h2 = ‘

’;

here’s something more what you would probably see in a real php script.

[php]<?php echo 'more'; ?>[/php]

However to answer your question.

[php]echo $oneWord = $opening_h2 . $hello_world_2 . $closing_h2;[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service