Hi ppl. Im back here concerning the function "strip_tags()" I have a function called "verify_profile()" the source code is:
function verify_profile($formdata, $mid) {
$error = "";
$formdata = strip_tags($formdata);
$insert_check = update_profile($formdata, $mid);
if ($insert_check != "true")
return($insert_check);
return("");
}
When I change my profile, i test to see if strip_tags is working by putting in some HTML. I submit the form and the whole data gets changed to a capital "A"! the tags get removed but it also changes the formdata. Every feild (eg, username, profile etc) gets replaced with an "A"!!! why?? this is very strange! help appreciated! thx.