Update mysql_result.php

I'm not sure what the issue was stemming from, but, my logs were getting loaded up with errors claiming that $this->result_id was not a valid MySQL resource. It wouldn't hurt to make sure that it actually is a valid MySQL resource before using it as such.