new MongoDB\BSON\ObjectId($txtID)]; $monQuery = new MongoDB\Driver\Query($filter); $res = $mongodconn->executeQuery("RobEmployee.Department", $monQuery); $deptartments = current($res->toArray()); } catch (MongoDB\Driver\Exception\Exception $e) { $filename = basename(__FILE__); $output = 'Could not connect to server: '; $errorException = $e->getMessage(); include('error.php'); exit(); } } ?>
Robinson - Project 9 - Mongo Department Form
ID:
Department:
value="department; } ?>">
Department Name:
value="department_name; } ?>">
Department Account #:
value="dept_acct_num; } ?>">
'; else if(isset($_POST['btnInsert'])) echo '
'; else if(isset($_POST['btnDeleteConf'])) echo '
'; else echo '
'; if(isset($_POST['btnDeleteConf'])) echo '
No
'; ?>