$ADDENTRY_DATA = dbfilterall($ADDENTRY_DATA);
//now $ADDENTRY_DATA contains empty data
//why ?
//It WAS working perfectly in previous version of php and $ADDENTRY_DATA has the data I required..but not in the latest version ...or is it some php.ini config problem
//can anyone shed any light at all ?
function dbfilterall($TOBEFILTERED)
{
while (list ($key, $val) = each ($TOBEFILTERED))
{
$TOBEFILTERED[$key] = dbfilter($val);
}
return $TOBEFILTERED;
}
function dbfilter($var)
{
return addslashes($var);
}