$query = "ALTER TABLE `foo` RENAME `bar`";
$result = mysql_query($query);
Obviously you need to be connected to the database first, and should also do
error checking after to make sure the table was in fact renamed.
p.s. I use phpMyAdmin to find out how to do stuff I don't yet know. Good
Software
RTFM
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit
> -Original Message-
> From: Rodrigo San Martin [mailto:rod