One problem I see is this:
$DBLocation = "E:\xampp\htdocs\database\Staffdb.mdb";
echo out $DBLocation and it will probably look like this:
since "\xa" is being translated to a line feed (ASCII character 0x0A in hex). Few options to fix that... namely: 1) escape backslashes; 2) use a single-quote delimited string instead, or 3) use forward slashes (not sure if the ODBC driver is smart enough to handle that, however).