![]() |
RE: Giving pets a Gender
Look - I don't know what your table looks like and I don't know the complete code. Can I see a screenshot of your table, please?
|
RE: Giving pets a Gender
Quote:
in that script you have things like this: form id="form1" "" shouldn't be used in this situation, replace all " with ' in that code and $gender = $_GET[genderselect]; should be in doadopt.php instead of that code try doing it this way: go to adopt.php look for the (original) <form name='form1' method='get' action='doadopt.php'> part and replace all between that and </form> with PHP Code:
find where you had the random gender choose thing and replace it with PHP Code:
|
RE: Giving pets a Gender
Uhm thank you but when i have finde dthat you can get different character from the breeding,i don't want use...
|
RE: Giving pets a Gender
For some reason I keep getting a invalid id after adopting
|
RE: Giving pets a Gender
Same for me....
|
RE: Giving pets a Gender
Ok, I see what I did wrong here, I inserted the gender field in the wrong on place in the database. I think I'll go for the random gender since you can change there name but I do wish I could get the abandon script.
If any one has a copy of it I'd be ever so grateful. |
RE: Giving pets a Gender
Quote:
|
RE: Giving pets a Gender
I already fixed it, it turned out to be a problem with the database. It was storing the gender in trading and not gender so I deleted it and added it back with the code above as the last table.
It's working beautifully and I decided I liked the random gender to make breeding challenging but I'm still missing a abandon script. -------------------- |
RE: Giving pets a Gender
Look at the kill & the rename & think about it.. from there it is easy to do an abandon :)
|
RE: Giving pets a Gender
I have the table and the abandoned pets go to the database I just have to work out how to make them appear on a page and be claimable. I figure it would be like the adopt.php only with added code and and stuff changed to point to the database were the abandoned pets are stored. For some reason there also dumping in to the table with no image is that normal?
|
All times are GMT -5. The time now is 07:57 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.