yup its in my header...
i did resolve the issue however, the examples i use for quick insertion of DB stuff had a typo and i was using:
$row = mssql_fetch_array($result);
instead of
$row = mysql_fetch_array($result);
i changed it in the code here but a brain fart kept me from editing it in my code 😉