I have a username, ie. james+@pitt.edu, stored in a database. It goes in fine, and displays properly. It appears correct in the database.
However, when I try to display it in a textfield for editing from a $_GET, it comes out something like:
james @.edu.
Any ideas what could be causing this? So far, I have tried htmlspecialchars and addslashes, but they aren't helping.
Example code:
$str = $_GET['email'];
echo $str;