I'm trying to delete information from all tables that have the characters '_sites' in them.
The code I was TRYING to use looks like this:
Code: Select all
$sql = "delete from *_sites where site_pre = '$pre'";Any ideas on how to complete this task?
Much thanks!