I already asked the question, and tried the solutions which was given to me here in stackoverflow, but it was not was i was searching: Select columns across different databases
So i repost my question: i managed to install xampp with wordpress on localhost. In a subfolder of wordpress i installed a php program. Everything works well, but i have a problem, i want my wordpress members to be able to login and use my php program (a web app). The problem is that's i'm just started to learn php a few weeks ago, so i can't really do it, i don't have money to spend on a developer, so this site is my only help.
I found an easier way for me to do essentially the same, but i have some problems implementing it: i want to link bitnami_wordpress.wp_user (first table with wordpress user information) with cm2.cm_user (php app table with user information). Essentially i want to update the table ucm_user informations based on information on wp_user automatically, without me intervening in phpmysql, i.e. if someone update his password on wordpress for example i want his password also to be updated on database2, if i delete or add an user on wordpress i want them also to be deleted or added on database2 from my web app. All this automatically without me intervening.
The informations on the two database are:
bitnami_wordpress.wp_user: user_id email password
and
cm.cm_user: ID email password name last name
The sql query did not do what i wanted: Add, Update or Delete AUTOMATICALLY a user in cm.cm_user
when i add, update or delete a user on wordpress.
Should i use triggers? If yes, how?
So can anyone help me please?
Thanks to everyone!