basically i have 2 tables 1 called members and one called events
i want to get username from table 1
and get event from table 2
and put them into a new table
what php code do i need
$query =" INSERT INTO ??
i have built a web site were people can join and book certain events so i created 2 tables one for members info and another for events i want to creat a 3rd so can pull the customer username from memebrs table and pull the event and put into the 3rd table which i am going to echo out to the members page to show which events they have booked
i am new to coding bit but doing a coarse so not to sure on how to stop duplicating
i want to get username from table 1
and get event from table 2
and put them into a new table
what php code do i need
$query =" INSERT INTO ??
i have built a web site were people can join and book certain events so i created 2 tables one for members info and another for events i want to creat a 3rd so can pull the customer username from memebrs table and pull the event and put into the 3rd table which i am going to echo out to the members page to show which events they have booked
i am new to coding bit but doing a coarse so not to sure on how to stop duplicating