fikiwan Posted April 23, 2012 Share Posted April 23, 2012 hello , i has a problemo fo make a relation in database my sql , I use XAMP 1.7.7 , can anyone help me , the relation can work , if delete 1 data in database master then data in database relation also remove , ... thx for help 1 Link to comment Share on other sites More sharing options...
justsomeguy Posted April 23, 2012 Share Posted April 23, 2012 You need to create a trigger, where the trigger_event is "DELETE". http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now