Update compare.php

lost init $b_bd