Logged In: NO

Additional info:

The error lies in the "NEW_TO_YOU" query:

WHERE updated > " . $_SESSION['last_login'] . "

should be

WHERE updated > " . '$_SESSION['last_login']' . "

Notice the single quotes enclosing "$_SESSION['last_login']"