2013-05-20, 07:31 PM
Hi
I need add some data to friend table in database WHEN the users add someone in to his buddy lists(friend list) and also remove the data when he removed his friends .
and what data i want to add:
my table is:
In this sql :
Thank you
Guys pleas i can just post my problem here (In mybb forums)
I need add some data to friend table in database WHEN the users add someone in to his buddy lists(friend list) and also remove the data when he removed his friends .
and what data i want to add:
my table is:
CREATE TABLE IF NOT EXISTS `friends` (
`friend` tinyint(1) NOT NULL,
`friend_uid` int(10) NOT NULL,
`is_external` tinyint(1) NOT NULL,
`user_uid` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
In this sql :
friend
-> always must be "1"friend_uid
-> friend uidis_external
-> always must be "1"user_uid
-> the user uidThank you
Guys pleas i can just post my problem here (In mybb forums)