Hi Jeff
Withouth having the inc.common.php file I can't check everything thoroughly but if you have having errors it's almost always a missing { or } or a missing ) or (
For example in the code sample above the 2nd file has two { and 3 } so you need to remove the bottom }
Let me know if that helps.
Chris.