Canjucks Posted February 2, 2009 Posted February 2, 2009 Hi Guys, I have a nice little problem that I have been lost on finding a simple answer for. I have done the hard part in creating my own book shop that shows seperate to the other shops. Thats that part done and out the way. Now, next thing on my list before I can add it is this, Since it is a book store the items give out various stats. So, what I would like it to do is everytime someone reads a book (usese the item) I want it to add 1 to booksread. The booksread is just a bragging thing I spose to see how many books one can read and who is the biggest book worm. The question then becomes where do I put the code for adding 1 to booksread (which will be a column in the Users table). As in do I put a db query to add it in the item when its created (so what it does for being affected part) or do I need a db query for each item the book store refers to in Use this item? I have used this before with a free mod posted on CE with a local library (I think it was called) where I added the booksread in that file but I feel doing it this way it becomes a bit more complicated. Any help or hint in the right direction would be fantastic thank you Quote
Canjucks Posted February 2, 2009 Author Posted February 2, 2009 Re: Help with items A BIG THANK YOU TO WAR HERO who was my hero and saved the day for me. Appreciate your help +1 for you War Hero :) If you would like to know the solution please pm me. Quote
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.