I guess u want to have the child data deleted when u delete parent data.
I know how to do this trough phpMyAdmin by using a foreign key relationship with a cascade delete.
Just google on "MySQL CASCADE DELETE" and you will find answers, if it is this u seek
