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?? Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/170626-drop-column-via-php/#findComment-899977 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.