added define for dbengine
changed connect.php to work as a PDO
search now uses PDO to get regions