Okay heres the scenario. I have 2 tables "Logins" and "User_Details"
What I want to do is write a PHP query that whenever a new user is created, that is manually entered into "User_details" table using a form, the next thing that should happen is that it should copy the value of the first 2 attributes from user_details table which are user_id and password into "Logins" table having the same 2 attributes only.
So what is the correct PHP query code for this. I tried many things but failed. I need somebody whos good at php / mysql to help me out! :)