![]() |
#6
|
|||
|
|||
![]()
that way would be harder I guess '-' but I don't understand very well what you're trying to do x_x
is it like, just breeding two of your adoptables into one new? I'm a PHP novice too like you, but I'll see your code e_e $aid=@mysql_result($result,$i,"id"); //The adoptable's ID $type=@mysql_result($result,$i,"type"); $description=@mysql_result($result,$i,"description "); $gender=@mysql_result($result,$i,"gender"); $eggimage=@mysql_result($result,$i,"eggimage"); $query = "SELECT * FROM ".$prefix."owned_adoptables WHERE level='2' AND owner='$loggedinname'"; //is this how we select it, somehow? for this part... you have to estabilish a $result variable first, and the $query is not being used at all.. also, the 'level' is not a colum in owned_adoptables.. do you want to select the rows just from the adoptables that are level 2? well I'll guess you forgot an important thing.. how the user will select the adoptables that he wants to breed? .-. I'll try to create a code to that and I'll post here but I'm not sure I can haha x_x |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Breeding Bug? Need help :) | Missy Master | Questions and Supports | 7 | 08-14-2014 02:29 PM |
Breeding help | SilverDragonTears | Questions and Supports | 0 | 04-12-2012 11:41 PM |
Random breeding outcome/ rare breeding | SilverDragonTears | Questions and Supports | 0 | 03-25-2012 02:33 AM |
breeding | Ruffsta | Feedback and Suggestions | 3 | 06-06-2011 04:09 PM |
No breeding | RoconzaArt | Questions and Supports | 15 | 01-24-2011 02:48 PM |
What's New? |
What's Hot? |
What's Popular? |