Thanks again,
I've been using some functions that laserlight graciously supplied:
function prepIn($input) {
$input = trim($input);
if (!get_magic_quotes_gpc()) {
return addslashes($input);
}
return $input;
}
function prepOut($input) {
$input = stripslashes($input);
return htmlspecialchars($input);
}
I use prepIn going into the the DB. After doing so the & symbol shows as just a normal & symbol when I browse in phpmyadmin.
I use a normal SELECT statement to retrieve it, and then I tried prepOut on it but after doing so it shows with & ;. I then tried removing the prepOut() on the output but it still shows as & ;
Then I tried urldecode and several others but just cant it to display as an ampersand. ?????