Absolute Zero Posted August 10, 2007 Share Posted August 10, 2007 "In the crimes table in your database, add crimeITEM int(11) default 0" How would I do this? I appreciate the help, I'm trying to learn and usually don't use DB. Quote Link to comment Share on other sites More sharing options...
YoungGold Posted August 10, 2007 Share Posted August 10, 2007 Re: >>??Add to Database??<< well you can do this by either havining an alter query or you can just go into your database, select crimes. then click structure and scroll to the bottom of your page insert 1 query under what ever and then just basically fill in the stuff that you said: "In the crimes table in your database, add crimeITEM int(11) default 0" How would I do this? I appreciate the help, I'm trying to learn and usually don't use DB. +1 if you find this helpfull Quote Link to comment Share on other sites More sharing options...
SaMz Posted August 10, 2007 Share Posted August 10, 2007 Re: >>??Add to Database??<< this is going to mess up everything like u will get errors whe u do crimes and stuff if u do that u will have to edit some files Quote Link to comment Share on other sites More sharing options...
Absolute Zero Posted August 10, 2007 Author Share Posted August 10, 2007 Re: >>??Add to Database??<< this is going to mess up everything like u will get errors whe u do crimes and stuff if u do that u will have to edit some files How so? Quote Link to comment Share on other sites More sharing options...
YoungGold Posted August 10, 2007 Share Posted August 10, 2007 Re: >>??Add to Database??<< well you need to add another bit into criminal.php i think saying putting this code that will select the item form the database and credit the user with the item other wise there will jsut be an error like 54M2 said. Quote Link to comment Share on other sites More sharing options...
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.