So I'm trying to add a column to a table via php, but I can't get it to work.
I'm sure there's a connection to the database, because I can get other things to work just fine.
The query is:
ALTER TABLE table ADD var INT;
And I use mysqli_query() to execute it.
Now, if I write the exact same query in the phpmyadmin sql field, it works. I'm not really sure what's happening here, but it'd be great if someone could help.
Edit: It appears it only doesn't work for special characters (particularly æ, ø and å).
This post was edited by Molle_fkk on May 16 2014 10:55am