Phpmyadmin trigger

Discussion in 'Databases' started by 61mustafaaydin, Jul 17, 2016.

  1. #1
    Hi
    "A" table (sipid,totalkg)
    1 ..
    2..
    3..
    "B" table (id,sipid,kg)
    1 1 500
    2 1 200
    3 2 150

    I want similer sipid B table total kg value add A table totalkg
    Please help me
     
    61mustafaaydin, Jul 17, 2016 IP
  2. Jason.pb

    Jason.pb Greenhorn

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    I have written a detailed article on MySQL triggers http://programmerblog.net/create-mysql-trigger-php/
    hope it helps you and any other.
     
    Jason.pb, Dec 28, 2016 IP