RE: [PHP] alter table name with php and mysql
| From: | Maxim Maletsky | Date: | Fri, 27 Apr 2001 03:03:09 +0000 |
| Subject: | RE: [PHP] alter table name with php and mysql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50550@lists.php.net to get a copy of this message | ||
it just as same as doing a query:
$db->connect();
$db->query("ALTER TABLE table CHANGE field field ~ATTRIBUTES~");
well, that was with a DB abstraction layer.
just use what you usually use to query your Db having your ALTER TABLE in
the mysql_query. (no need to show the results up)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Augusto Cesar Castoldi [mailto:castoldi@inf.ufsc.br]
Sent: Friday, April 27, 2001 6:19 AM
To: php-general@lists.php.net
Subject: [PHP] alter table name with php and mysql
How can I alter a table name in mysql with php?
thanks,
Augusto cesar Castoldi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net