• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

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

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?
0
error77
Asked:
error77
1 Solution
 
bitlaCommented:
I don't think so, I am eagerly waiting for an answer if it can be done
0
 
Ray PaseurCommented:
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: http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now