3
I have some extra fields in the user table for weather and tide forecasts. While making changes last week I created a clone of the user table and developed software around the cloned table..this allowed me to test changes without having my members modifying a table. When I'd made all my table updates I'd copied my user table from my clone. At this point the autoincrement and primary key tags were lost from my user table. I don't remember but like I did a drop table and copy back to back.
In register.php $newid should always give you a new user id after the new member data is inserted into the user table. Thanks again wtravel for your assist.