rugzo Posted August 17, 2009 Share Posted August 17, 2009 Hi, if i execute this command --> $query= mysql_query("ALTER TABLE `ana` DROP COLUMN `sdfsd`"); it drops the column but gives me the error --> Unknown column 'sdfsd' in 'ana' Has anyone a clue why i get this error even it drops the column?? Link to comment https://forums.phpfreaks.com/topic/170626-drop-column-via-php/ Share on other sites More sharing options...
Daniel0 Posted August 17, 2009 Share Posted August 17, 2009 Possibly you're calling it twice and it is the second one that is giving you the error? Link to comment https://forums.phpfreaks.com/topic/170626-drop-column-via-php/#findComment-899977 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.