View Single Post
  #44  
Old 02-22-2011, 10:01 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 398,402
Hall of Famer is on a distinguished road
Default

Fadillzzz is correct on this. All you have to do is to define a random variable that generates an integer for the number of babies a female adoptable gives birth to. Use a while or for loop to execute each mysql query line. I will show you a more detailed example once Mys v1.2.0 is released.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.