btw (your prefix) is written like: prefix
lets say my refix is adopts, then if i were searching for (your prefix)_adoptables i would put adopts_adoptables
1) follow the mySql instructions at the bottem
2) go edit adopt.php and search for
PHP Code:
<input type='submit' name='Submit' value='Create This Adoptable'>
3) above it put
PHP Code:
breed ID<input name='breedid' type='text' id='breedid' size='6' maxlength='6'><br/>
breed factor<input name='breedfactor' type='text' id='breedfactor' size='6' maxlength='6'><br/>
4) now edit nadopt.php
5) search for
PHP Code:
$altchance = secure($altchance)
6) now after that put in
PHP Code:
//////////////////////////////////////////////////////////////////////
$breedid = $_POST["breedid"];
$altchance = secure($breedid);
$breedfactor = $_POST["altchance"];
$altchance = secure($breedfactor);
7) now search for
PHP Code:
mysql_query("INSERT INTO ".$prefix."adoptables VALUES ('', '$name',
'$description','$eggimage','$cba','$promocode', '$freqcond',
'$number','$datecond','$date','$adoptscond','$maxnumcond','$morethannum','$usergr
upcond','$usergroups','$alternates','$altoutlevel','$altchance')");
8) in between
and
put
PHP Code:
,'$breedid','$breedfactor'
9) upload the breed.php file at the bottem
mySql instructions
1) go to php admin and go to the database you made for your adoptable script
2) find (your prefix)_adoptables
3) press SQL, take out
PHP Code:
SELECT * FROM `(your prefix)_adoptables` WHERE 1
and put in
PHP Code:
TABLE `(your prefix)_adoptables` ADD `breedid` INT( 12 ) NOT NULL ,
ADD `breedfactor` INT( 12 ) NOT NULL ;
4) done