Suppose I have two tables in a database in MYSQL, namely
Customer_image
Customer_details
Now I want that the ID field in customer_details to show up as the UID field in customer_image table. And if I update or delete any record in any one of the tables, the related record should also be affected accordingly. If anyone could relate the fields through php code it would be great.
 
     
    