Mysql Use Variable From Another Method