Special SQL command?
Posted: Fri Mar 07, 2003 6:12 pm
Hey all.
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:
Of course, that creates an error...
Any ideas on how to complete this task?
Much thanks!
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!