When you exit the while loop $row_rs will be null. In fact, that is what is causing the loop to exit in the first place.
I can't really tell what you are trying to do.
If you need to go back through the result set a second time then use mysql_data_seek to reset $rs.
If you want the last record processed then stick a
$row_rs_last = $row_rs at the top of the while loop.
Note: I just updated this. I had mysql_seek instead of mysql_data_seek. Thanks kevinsequeira.