Umm... Basicly I need to loop through an array and strip the slashes for each... value?
Anyway PHP is saying there is an invalid arg supplyed... Anyone know why? 😛
function fetcharray($result){
$query = array();
$query = mysql_fetch_array($result) or mysql_error();
foreach($query as $title => $val){
$query[$title] = stripslashes($query[$title]);
}
return $query;
}
And once again, I must say... "Thanks in advance, Matt"
I think I should have that as my sig since im always putting that at the end of my questions 😛