When you say change $uname=$email, what section in register.php did you change this in? I had searched register.php for a while before posting here, but I could not find the exact places to edit.
however, I did find the following bit of code that may resolve the SQL error.
In register.php, search for
Code:
#
# Add new person to customers table
#
Just below those lines, are the lines of code that query the DB.
In that chunk, change:
to
Meanwhile, if you could give me some more detail on where you changed your code, we might be able to piece this together!
Thanks,
Piper