The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Querying in functions...
Okay, I want to be able to execute this code:
PHP Code:
PHP Code:
And all the queries cease to work. Anyone know why? Thanks in advance. |
#2
|
||||
|
||||
global $DB_site (I believe case makes a big difference )
|
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
No offense, but the lack of indenting is stopping me from even trying to diagnose the problem.
|
#5
|
||||
|
||||
Btw, can you use functions within functions? You are using maketableheader as a function already
|
#6
|
||||
|
||||
Yes Steve Also he's using $DB_SITE not $DB_site (there's a difference in case there).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|