#1
|
||||
|
||||
Gender? [answered]
Being the PHP beginner that I am, I know I messed something up.
I added a new column to the owned_adoptables table, Gender. I had only one pet on the system, and I edited the myadopt action stats so that it showed the gender too. I manually entered the gender via phpmyadmin, no big deal yet, because I have a problem which I encountered. It will display the gender, but this seems to totally lock out any new adoptables. xP How do I get around this? Also, if you know, how can I set it so on adoption it chooses either Female or Male (50/50 chance) and inserts it into the table? Thanks, Arianna [hr] EDIT: I managed to make it so the default is female, and so it inserts that in - however, I'm stuck on how I can insert a random chance which chooses either 'Male' or 'Female' for the gender field. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Gender Ratio Mod for Mys v1.3.4 | Hall of Famer | Mys v1.3.x Mods | 14 | 06-17-2020 07:20 PM |
Gender | superdude44 | Questions and Supports | 5 | 07-11-2013 01:17 AM |
different images for gender MA 1.3.3 | draugluin | Questions and Supports | 3 | 06-18-2013 01:30 AM |
Mys v1.3.1 Gender Ratio Mod for v1.3.1 | Hall of Famer | Mys v1.3.x Mods | 15 | 08-17-2012 03:25 AM |
What's New? |
What's Hot? |
What's Popular? |