View Full Version : Deleting all templates with a certain prefix?
Link14716
02-01-2003, 03:20 PM
Say I want to delete all templates with the rpg_ prefix. It would take far too long to delete each one manually, so how could I easily delete them all at the same time?
GSHelpBoy
02-01-2003, 10:34 PM
I think something like this would work:$sql = "DELETE FROM `table` WHERE `name` LIKE 'rpg_%'";But don't quote me on it.
Link14716
02-01-2003, 11:33 PM
I'll try it, thanks :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.