![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#8
|
||||
|
||||
![]()
It depends on what you want to do really. Giving an adoptable is a simple db insert. The way to trigger that insert by clicking an image can be done in different ways:
- If the image takes you to a new page (/adopt/code for example), create those files for that page and if needed read the URL to know which adoptable the user is trying to get, check if it exists and if it does give it to the user - Or with javascript, by making it activate an event on image click, requires the use of ajax though, which mysida isn't very fond of
__________________
![]() ![]() ![]() asp.net stole my soul. Last edited by IntoRain; 11-09-2014 at 09:59 AM. |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A small question regarding adoption limits and promo codes..c: | Pear | Feedback and Suggestions | 2 | 06-25-2014 10:06 PM |
Promo Codes | SilverDragonTears | Questions and Supports | 2 | 06-30-2012 01:22 PM |
Promo And Banning | Alaric | Questions and Supports | 5 | 04-20-2012 08:28 AM |
News/kinda forum script help | SilverDragonTears | Questions and Supports | 0 | 10-22-2011 06:48 PM |
1 Promo per person | Xius | Questions and Supports | 4 | 09-21-2009 05:55 PM |
What's New? |
What's Hot? |
What's Popular? |