Thanks for your quick answer. I've tried searching for pretty much every possible strings on google, they all say the same thing. That I need to set edit/delete rights for the script towards the database.
The code should be fine, since it works on the other website perfectly. I can read from the database in the administration panel, but not edit/delete them. Don't you think it's about privileges?
What I need to know, if is it's possible to edit the rights without server admin access