I need a trigger in phpmyadmin for 2 tables.
So there is table stores and tbl_storefinder_stores.
I wanted to insert 4 things (name,adress,longitude,latitude) from the table stores to tbl_storefinder_stores, I get help in the forum by this code
INSERT INTO tbl_storefinder_stores(store_name, store_address, lat, lon)
SELECT name, address, latitude, longitude
FROM stores;
and its work !!
But now I want a trigger that do this automatically like:
If I change or add anything in table Stores that it update the table tbl_storefinder_stores automatically, like an updater for the 4 things (name/adress/longitude/latitude), How to do this in the phpmyadmin?