View Single Post
  #5  
Old 09-11-2010, 10:01 AM
PokePets PokePets is offline
Premium Member
 
Join Date: Jun 2010
Posts: 228
Gender: Male
Credits: 24,986
PokePets
Default RE: Breeding System - Complete!

Look;
Quote:
Originally Posted by PokePets
There is missing a part of the code.
Enter this;
PHP Code:
mysql_query("INSERT INTO ".$prefix."owned_adoptables VALUES ('', '$type', '$name','$loggedinname','0','0', '$code', '','$alts','notfortrade','no','$gender')"); 
After this;
PHP Code:
// Now we actually process the adoption and add it to the database...
// We need a unique code for the adoptable so we can show it to the user when we're done here...

$code rand(120000); 
;)
So works it fine for me.


;)
Reply With Quote