Wondering if this PHP:
if (($teampin==$_POST["pin"]) && (($homeid == $_POST["teamid"]) || ($visitorid == $_POST["teamid"])) && ($_POST["id"] !='')) {
actually will do what I want:
if teampin = the posted pin and
((homeid = posted teamid) or (visitorid = posted teamid)) and
(posted id <> '')