whats the best way to run 2 sites but use same database with same prefix on Drupal 7?
It is quite possible in Drupal. Make sure settings.php on both the instances are identical (I assume both the instances are hosted on a single server).

However, better way to manage such a scenario is to use version control.