yes it mysql db... and the prob with variables is that im running it from terminal connection, and for some reason mysql-commands dont work with php-files run from there... dont ask me why. It gives some error about undefined function or sumthing 🙁
So i would have needed just one query which would have done it.
I dont know if the mysql is compiled some wrong way (its my m8s server, and suspects that), but i dont know how i could get it working...