Problem with PHP & SQL Query
- by Shahd
Hi ....
i have a problem in php code (inserting values in database)
i use PHPMyAdmin
my DATABASE has 3 tables:
1) Member with this fields: MemberID, MemberName
2) Room with this fields: RoomID, RoomName
3) Join with this fields: MemberID, RoomID
the idea is to join the member in the room.
My query was
mysql_query("INSERT INTO join (RoomID, MemberID)
VALUES ('121', '131')");
but unfortunately it is not work