$value = urlencode(stripslashes($value));
$querystring .= "&$key=$value";
}
}