is it possible to link to rows?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
snpo123
Forum Commoner
Posts: 77
Joined: Sat Apr 17, 2004 6:31 pm

is it possible to link to rows?

Post by snpo123 »

hey, i have two rows in different tables that I want to link, so if one row is updated so is the other row. I am using phpmyadmin, so is this possible? and if so, how do I do it?
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

That's called a Trigger in database terminology. MySQL doesn't support triggers. However, PostgreSQL supports Triggers (and many other things). So you might want to look into that.

With MySQL, you will have to do it in your code.
Post Reply