The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Call Array Value From Outside Function?
I'm working on a web-RPG, and need a little help with my database queries, as I need to be setting up globals using unfctions.
I'm using this simple code that I came up with after a few minutes of looking at the PHP manual (I've already set the database up): PHP Code:
The only problem is, I can only seem to call values from that array inside the function, meaning that this will work: PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|