Php Use Variable In Function Sql