Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to insert form data using Wordpress

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 318
    Comment on it

    Hello Reader's!

    If you are new to wordpress and looking for the method to insert form data into table, Then you can use the Wordpress liberary code to do that:-

    <?php
    
    
        global $wpdb;    
        $wpdb->insert('wp_custom_user',
            array(
               "username"       => $_POST['username'],
               "email"          => $_POST['email'],
               "password"       => $_POST['password'],
               "first_name"     => $_POST['first_name'],
               "last_name"      => $_POST['last_name']
            )
        );
    ?>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: