![]() |
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."'"); } |
All times are GMT. The time now is 09:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|