![]() |
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. |
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:
|
All times are GMT -5. The time now is 08:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.