Trouble echoing data - data being converted to 0
- by Haraldo
Hi, 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 ''+$sMessage+'';
It returns 0. Very odd!