#11
|
||||
|
||||
RE: Breeding
Awesome! I have to go now, but I'll test it tomorrow (on my test site).
|
#12
|
||||
|
||||
RE: Breeding
After a few edits (some brackets didn't match) I managed to get it to show, however, it only shows the females on the drop down lists, not the males (the second list is blank.)
Is it possible at $result2/$num2/$i2 are not valid variables? |
#13
|
||||
|
||||
RE: Breeding
Something amazing - my dad (he knows C and C++ and stuff like that) helped me and I managed to have the whole code working!
PHP Code:
|
#14
|
|||
|
|||
RE: Breeding
Don't forget to secure your variables. Anything coming in from the user needs to be secured, otherwise your site can easily be hacked.
For: PHP Code:
PHP Code:
|
#15
|
||||
|
||||
RE: Breeding
Okay, I'll change that.
Have you any ideas on how to get it working so it inserts the adoptable properly? |
#16
|
|||
|
|||
RE: Breeding
Make sure that the number of columns in this line:
PHP Code:
|
#17
|
||||
|
||||
RE: Breeding
Okay, let me see
PHP Code:
aid, type, name, owner, currentlevel, totalclicks, code, imageurl, usealternates, tradestatus, isfrozen, gender... date. I cannot see how I missed that. xP I'll edit and see if it works.[hr] I now did that, but it tells me this at the top of the page (it still displays the rest, though). Code:
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 4 on MySQL result index 22 in /home/pixelpup/public_html/twig3/adoptables/breeding.php on line 76 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 4 on MySQL result index 22 in /home/pixelpup/public_html/twig3/adoptables/breeding.php on line 77 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 4 on MySQL result index 22 in /home/pixelpup/public_html/twig3/adoptables/breeding.php on line 78 |
#18
|
||||
|
||||
RE: Breeding
Here is my updated version. I'm doing OK - the code is free of syntax errors and it defines the variables correctly, but it won't insert into the table at all!
If anyone is nice enough to help, it is supposed to insert the adoptable on line 195. PHP Code:
|
#19
|
|||
|
|||
RE: Breeding
you use $name = $new_name; But just looking over it quickly I don't see where $new_name is defined.
Sea |
#20
|
||||
|
||||
RE: Breeding
Here :D
PHP Code:
Code:
Manage Ik & Random's Daughter now! It's type is Jinx and it was born on October 27th, 2009! You can change its name to your liking. |
|
|
Similar Threads | ||||
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? |