The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
It's this a suicidal code?: Maybe I'm going to kill my own DB
This is the code...
Code:
<if condition="$post['field18'] == 'TEXT-'"> CODE A <else /> <if condition="$post['field18'] == 'TEXT-B'"> CODE B <else /> <if condition="$post['field18'] == 'TEXT-C'"> CODE C <else /> <if condition="$post['field18'] == 'CODED'"> CODE D <else /> ...... When I first think of this...well, I think it'll make only one DB call for $post['field18'], and then compare the results with the IF possibilities. But maybe not. If I do this...I'm cutting my own throat? O o'' (If it's one db call for every one posibility....YES IT IS ) Maybe it's too obvious, but...well....I need to know it Sorry! And thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|