I'm new in PHP, so may be I'm wrong (so don't down-vote me) because I'm here for learning.
I'm trying to understand Parse error on Assignment operator.
Example:
<?php
$additon = 2 + 4;
echo "Perform addition: 2 + 4 = " $addition;
?>
Why do I get this error?
Parse error: syntax error, unexpected '$addition' (T_VARIABLE), expecting ',' or ';'
And, why the sum of 6
not showing?