I summarised my problem by a simple example,anyone plzz ans this...then I will be able to understand my problem.......:
Suppose in a database named "DATABASE"..there is a table called "XYZ"..it has 4 rows named "T1,T2,T3,T4"..one primary key named "T_id"..now what I want that to access this same table via different ids from different location but with same primary key..so I have to put some different ids also,so I give "key1_id,key2_id"..so now I have these rows in my table:
"T_id,key1_id,key2_id,T1,T2,T3,T4"
I am giving a screenshot of the table structure:
http://img11.imageshack.us/img11/4717/82031836.jpg
Now what will be the code for (add/edit/del) for these rows..I means how to access this same table via different ids from different location but with same primary key