It has something to do with the Dreamweaver regular expression engine.
When something comes close to matching, but then runs into issues, it causes a crash.
In this case it is the hand coding you did:
if($_SESSION['NJinUSERID'] !== 1 || $_SESSION['NJinUSERID'] !== 100 || $_SESSION['NJinUSERID'] !== 117) {
$InsertQuery->bindColumn("venueAPPROVED", "i", "2", "WA_DEFAULT");
}
One solution to the problem is to make sure it breaks the match earlier... by adding a comment like:
if (isset($_POST["addvenueBTN"]) || isset($_POST["addvenueBTN_x"])) { // hand coded
By adding the comment in the first line, it prevents dreamweaver from trying to match the rest where the crash occurs.