Merging two tables

Discussion in 'MySQL' started by mani, Jan 31, 2007.

  1. #1
    Hello,
    I want to merge two tables in a mysql database.... such that

    If content of 1st table changes via a php file then the other table(2nd) would update with the same info of 1st table fields... and if 2nd table is updated with another php file(which don't have any touch with 1st table) the first table would update...

    I think if it is possible it would be with some procedure in mysql , but i don't know if it is possible or not...

    Anyone could help me??
     
    mani, Jan 31, 2007 IP
  2. ThomasNederman

    ThomasNederman Peon

    Messages:
    112
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ThomasNederman, Jan 31, 2007 IP
  3. mani

    mani Peon

    Messages:
    679
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yups thats the way.. do mysql 4 + support triggers??? my host has mysql 4.1 installed...
     
    mani, Feb 1, 2007 IP
  4. druidelder

    druidelder Peon

    Messages:
    285
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #4
    MySQL didn't support triggers until 5.0
     
    druidelder, Feb 6, 2007 IP