Wordpress copying the user_login field onto a field in a new table

Posted on 2011-10-18
Last Modified: 2012-05-12
I am using wordpress and I've created a new table in the wordpress database.

I have created a new table which contains a userid field

My question is, is there anyway to make a copy save/sync wordpress's user table user_login field into my new table so that every time there's a new user my table is also populated with the user_login field?
Question by:error77
    LVL 4

    Expert Comment

    I don't think so, I am eagerly waiting for an answer if it can be done
    LVL 107

    Accepted Solution

    Hmm.. Why not consider the WP table to be the canonical data source?  I'm not convinced that adding another table is a great idea.

    But that said, you might be able to use this:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
    The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now