How to Delete the parent node, and child nodes/leafs for a db/tbl in php

From: Date: Fri, 16 Oct 2009 15:34:09 +0000
Subject: How to Delete the parent node, and child nodes/leafs for a db/tbl in php
Groups: php.general 
Request: Send a blank email to php-general+get-298916@lists.php.net to get a copy of this message
Hi. I've got a situation where I have a couple of tables. The relationship between the tables is one of parent/child. I'm trying to figure out the best approach to being able to delete the associated children in the child tbls, of a given parentID in the parentTBL... I've checked into various sites/articles on the 'net.. but i'm not sure how best to accomplish this... I'm using php as the interface language to the test tbls.. Any pointers/articles/test code (code/schema) would be helpful... Thanks

« previous php.general (#298916) next »