In the following snippet would someine please explain to me what "return" does.
*************<SNIPPET>*************
function sess_gc($maxlifetime) {
global $SESS_DBH;
$qry = "DELETE FROM sessions WHERE expiry < " . time();
$qid = mysql_query($qry, $SESS_DBH);
return mysql_affected_rows($SESS_DBH);
}
*************</SNIPPET>*************
Does this create a variable? or what?