Thanks man...used some of your advice, and worked around the rest.
Lo and behold: one of my last hurdles!
Code:
$DB_site->query("INSERT INTO savethreads (savethreadid,threadlinkid,saveuser) VALUES (NULL,$threadid,$username)");
I get the "Email has been dispatched to the Techial Guy" message because of this query - wazzup? I'm racking my brain over it...it looks fine to me.