0) { /* user has already registered - update */ mysql_query("update users set name='$name',company='$company', country='$country',os='$os',httpd='$httpd',primary_use='$primary_use',comments='$comments' where email='$email'"); $update=1; } else { $query = mysql_query("select email,password from users where email='$email'"); if (mysql_num_rows($query) > 0) { /* user has already registered, but no password */ ?>
You are already registered in the database!

You have two options here. You may have forgotten your password, in which case you can have it mailed to you, or you can have a cookie set in your browser so you don't need to worry about this again. Setting the cookie will also let you modify your profile data.