Hi,
I'm trying to use cforms to register new users on a site where the user needs to be able to upload his work resumee, once registered. So I'm adding the following lines to the my_cforms_action function in my-functions.php:
require('../wp-config.php');
$user_login = $form['Email'];
$user_pass = $form['Lösenord'];
$user_email = $user_login;
global $wpdb;
$wpdb->insert($wpdb->users, array('user_login' => $user_login, 'user_pass' => $user_pass, 'user_email' => $user_email) );
But it does not add the new info to the users table. Is there any other/better way to do what I want?
Any help i appreciated!