The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
foreach woes...
Basically, I have put some data into the datastore (everything in a specific table that I created). I get it out and unserialize it, and then I try to pick out one row out of them all (in this case, it's one row, but that number will increase).
Naturally, my obvious choice is foreach. Of course, naturally I've hardly ever (read: never) used foreach, so I'm having some trouble. PHP Code:
|
#2
|
||||
|
||||
well, i'm not really getting what you wanna do, but you are using the key within the belonging value, so i don't think thats right..
within the foreach change all $theaction[$key] into $theaction. as $theaction is already the value beloning to $key regarding the $storeactions array. |
#3
|
||||
|
||||
Cheers, Xenon.
|
#4
|
||||
|
||||
you're welcome |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|