Open jamesloh opened 10 years ago
By specifying the field list, it makes it easier to add additional fields to the users table and still have it working.
$q = sprintf("INSERT INTO ".TBL_USERS." (username,password,userid,userlevel,email,timestamp,valid,name,hash,hash_generated) VALUES ('%s', '%s', '%s', '%s', '%s', $time, '0', '%s', '0', '0')",
By specifying the field list, it makes it easier to add additional fields to the users table and still have it working.