RE: [PHP-WIN] update tablename

2002-11-12 Thread Dash McElroy
$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

RE: [PHP-WIN] update tablename

2002-11-12 Thread Asendorf, John
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