Apparently, the problem was/is my function...
What's wrong with this???
function stringIt($var){
$new_var = htmlspecialchars($var);
$new_var = (ini_get("magic_quotes_gpc") == 1)?stripslashes($new_var):$new_var;
return $new_var;
}
Looks fine to me 🙁
EDIT: Never mind, I fixed it!
So... If I use the function like this...
$var = "hey".stringIt($var);
... Whatever is told to be returned in the stringIt function will be returned on that var (along with "hey" in front)?