The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
SOLVE! - Mysql / vb php : Deleting multiple rows with same id
Have a option where it is possible to delete a category
AND its contents. Category name = Cname, Id = Cid, problem : The contents are not store in same db as the category list solved! ----- This works ------------- $result = $vbulletin->db->query("SELECT * FROM " . TABLE_PREFIX . "Myothertable WHERE CATID='".$catid."'"); While ($row = $vbulletin->db->fetch_array($result)) { $db->query_write("DELETE FROM ".TABLE_PREFIX."Myothertable WHERE CATID='".$catid."'"); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|