![]() |
#1
|
||||
|
||||
![]()
Right, so having an issue here >.> I have two arrays I'm trying to make (one of which is working fine :3) but the second one seems to be running into an issue with the fact I'm trying to call an array from a MySQL cell.
So basically this MySQL cell has the phrase "3,4,5,6" (no quotes). It is set to a variable $adoptid which I'm trying to put in an array. Problem is it treats the whole variable as an array. So instead of using '3', '4', '5', and '6' as variables in the array it treats "3,4,5,6" as a variable in the array. (if that just made sense...) Does anyone know a way I can put values into a MySQL cell and then pick one randomly from an array? Trying to do something like: PHP Code:
__________________
![]() "I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo My Adoptables|Nuzlocke Webcomic |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hall of Famer's PHP Tutorials: Chapter 6 - PHP Arrays | Hall of Famer | Tutorials and Tips | 0 | 03-16-2013 07:14 PM |
My MySQL? | Rozel | Questions and Supports | 6 | 05-01-2011 08:53 AM |
Mysql help? | rickasawr | Questions and Supports | 5 | 04-26-2011 09:31 AM |
MySQL: What to do? | Knyfe | Questions and Supports | 18 | 03-11-2011 12:52 PM |
mySQL help | aroymart | Questions and Supports | 4 | 04-20-2009 12:13 AM |
What's New? |
What's Hot? |
What's Popular? |