I got a question about the "$key => $value" in the code below... I looked it up in google but it didn't returned any results.. All I know is that "=>" is used in arrays like x = array('a' => 'b').
function _stripslashes_rcurs($variable,$top = true)
{
$clean_data = array();
foreach($variable as $key => $value)
{
$key = ($top) ? $key : stripslashes($key);
$clean_data[$key] = (is_aray($value)) ?
stripslashes_rcurs($value, false) : stripslashes($value);
}
return $clean_data;
}
thank you for your help