note 22959 added to function.mysql-query

From: Date: Fri, 05 Jul 2002 07:56:16 +0000
Subject: note 22959 added to function.mysql-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-32628@lists.php.net to get a copy of this message
When doing "ALTER TABLE CHANGE <column>..." or "ALTER TABLE MODIFY <column>..." with mysql_query() some strange things happened - mysq_query() dropped the table field I wanted to modify instead of changing its name, type etc. like I expected. Querying mysql DB from the console the same query passed with no problems. I used php v.4.2.1 and mysql v.3.23.39 -- http://www.php.net/manual/en/function.mysql-query.php http://master.php.net/manage/user-notes.php?action=edit+22959 http://master.php.net/manage/user-notes.php?action=delete+22959 http://master.php.net/manage/user-notes.php?action=reject+22959

« previous php.notes (#32628) next »