Hi. I have this line of code:
$b = '@';
If I echo($b), then it displays correctly in the browser: '@' But, when I look at $b on the server with the debugger, I find its value to be '& #8212;' (remove space) If I use '@' in an email address - like
[email protected] - it also changes to b& #8212;b.com (remove space) So, although it echo correctly, it does not work in email addresses used to read user accounts. 1. Why does the value change? 2. Why is it changed to the html code of a dash (-) and not the html code of the '@' character? I tried urlDecode() and str_replace() - but no success. I use php 5.3.8 Thanx