Thanks Ray,
On localhost when I place
GetSQLValueString(isset($_POST['ContactPermission'], "int", "1", "0"),
I get a syntax error on lines 96 and 97
If I remove (isset the sytax error goes away.
However the ContactPermission field in the database remains at Null.