Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Drop Down List to Use Item Messed Up
Okay, this is weird.
The drop down list, when you go through to use an item, is showing me my adoptables' ID number (1), not name (Snowball), and when I got to use it, I end up with this error: "Adoptable ID SnowBall does not exist or does not belong to the owner specified..." As though the name (Snowball) is being selected when the ID (1) should be. It is almost like the two have changed positions. Here's what I mean: So, if someone could help just let me know which files you'd need to see. Here's my class_dropdownlist.php, just in case: PHP Code:
__________________
My Mods Site (1.3.4, 2020 Mods) |
#2
|
||||
|
||||
On mine it actually shows the name instead of the id. Does this happen with all dropdown lists? Can you post your inventoryview.php and inventory.php files? (just the uses() function for example)
__________________
asp.net stole my soul. |
#3
|
||||
|
||||
It's driving me nuts, haha XD ((Took my 6 months to learn html and css, taken me 3+ years and still haven't learned php...someday I'll be able to solve these issues. Soooome day.)).
Inventoryview.php: PHP Code:
PHP Code:
__________________
My Mods Site (1.3.4, 2020 Mods) |
#4
|
||||
|
||||
Quote:
In this part: Inventoryview.php PHP Code:
Doing this should fix it: PHP Code:
__________________
asp.net stole my soul. Last edited by IntoRain; 12-29-2014 at 06:58 PM. |
#5
|
||||
|
||||
Alright, thank you!
Huh, not sure why it was inverted.
__________________
My Mods Site (1.3.4, 2020 Mods) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Item Shop Mod(s): NPC + Item Display + Tooltips | Kyttias | Mys v1.3.x Mods | 55 | 06-19-2020 11:21 AM |
Creating a drop down list within FORM to SHOW | FounderSim | Questions and Supports | 6 | 09-27-2014 04:39 PM |
Too many drop down bars? | Infernette | Questions and Supports | 4 | 01-29-2013 04:01 PM |
HTML Drop-down Menu | Knyfe | Tutorials and Tips | 2 | 02-17-2011 04:03 PM |
What's New? |
What's Hot? |
What's Popular? |