#1
|
||||
|
||||
Getting name of random item
I'm having a problem with telling the user what item(s) they're getting. In short a random item is chosen from a list of items and given to the user. Whenever I try to get the name of the item I get an error. Here's the shortened version of the code:
PHP Code:
If I just get {$Citem} as the item name then it works fine, but I want the words to match the items given, not be randomly chosen.
__________________
Last edited by Dinocanid; 05-07-2017 at 02:48 PM. Reason: Forgot some parts |
#2
|
||||
|
||||
Since I got error messages back, I was able to find this as the error:
Quote:
EDIT: I was able to fix it! I had to use this to get the name of the item: Quote:
__________________
Last edited by Dinocanid; 05-17-2017 at 08:06 PM. |
|
|
What's New? |
What's Hot? |
What's Popular? |