View Single Post
  #12  
Old 06-04-2009, 03:14 PM
mattalien mattalien is offline
Member
 
Join Date: Dec 2008
Posts: 27
Credits: 4,391
mattalien
Default RE: Easier way to add adoptables

I have a very good way of doing this. This is also from a pokemon site i am making.

You make the first level, then you export it from your database. copy it however many times you need it, then just change the needed info. For example:

I make the adoptable, and make a level for it normally. I then export it from the database: ( i am using 000webhost, which i think you are too.)


----------------------------------------------
----------------------------------------------


I then take this line (yours will be different):

Code:
INSERT INTO `'yourprefix'_levels` VALUES('Name', level, numberofclicksneeded, normalimage, alternateimage, '', '');
You then copy this however many times, then just change, for all of them:

Name: To what you called the adoptable
level: to what this level will be
number of clicks needed: to what the number of clicks needed for the level
normal image: to the image that normally appears
alternate image: If set, to what the alternate image will be

Copy all the levels you just made. Then you click on:



paste it all in, and, you're done!

If you have any questions, just ask!
Reply With Quote