I feel this is something to do with my httpd setup for apache. I’m using mod_rewrite if that helps but I think that only effects the url.
It seems when I output some data such as:
$sMessage = 'Error';
echo $sMessage;
It works fine but when I do this:
$sMessage = 'Error';
echo '<p>'+$sMessage+'</p>';
It returns 0. Very odd!
The string concatenation character in PHP is
., not+.+does a mathematical operation.This should work: