So I am not a very good programmer, but I'd like to think I know the very basics. Anyway, I purchase a database from a well known software site and I cant get it to work with php for the life of me.
I kept getting a conflict with one of the columns in the database I bought. I'd take the column out and all would work, put it back in and it wouldn't work. Me being a noob I decide to hire a programmer to get this to output it how I want. He tells me there is some major error in the database I purchased. Saying, "I can get it to work, but I will have to redo much of the code and it will take a long time." I say screw it and just send me the code he has complete.
Now I'm thinking wtf, I've now spent a couple hundred on what seems like useless info. I have to make this work somehow....after dickin around for about 30 minutes, I ended up renaming one word of the entire database. I renamed the column from 'desc' to 'a_dumby_name' and it works like a charm. wtf Is 'desc' a protected word/command in mysql?
I kept getting a conflict with one of the columns in the database I bought. I'd take the column out and all would work, put it back in and it wouldn't work. Me being a noob I decide to hire a programmer to get this to output it how I want. He tells me there is some major error in the database I purchased. Saying, "I can get it to work, but I will have to redo much of the code and it will take a long time." I say screw it and just send me the code he has complete.
Now I'm thinking wtf, I've now spent a couple hundred on what seems like useless info. I have to make this work somehow....after dickin around for about 30 minutes, I ended up renaming one word of the entire database. I renamed the column from 'desc' to 'a_dumby_name' and it works like a charm. wtf Is 'desc' a protected word/command in mysql?