Thanks Xenon. That ID thing worked great.
As for my other problem.. I actually started to upgrade to 3.0 and I decided not to for now because I wouldn't have time right now to reinstall all my hacks.
So I am supposedly back to 2.2.9, although my version number is still 3.0.. I screwed something up.. Anyway, I still get the same SQL error when reuploading the 2.2.9 member.php
Would it help if I attached it? You can remove it once you look at it if that would help. Thanks a lot for helping me out