The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
MySQL querys With eval()???
Is there at any way possiable to store mysql queries in a database like
$var1_db=$DB_site->query("SELECT * FROM blah"); and have it work coming through eval() ??? thanks - Lord Neo :glasses: |
#2
|
||||
|
||||
Umm, yeah...
Code:
$dbquery = '$var1_db = $DB_site->query("SELECT * FROM blah");'; eval($dbquery); |
#3
|
||||
|
||||
Thanks. I was never really sure of that / have tryed it.
|
#4
|
||||
|
||||
in any case, you should perhaps be trying to avoid eval()s. php coders themselves acknowledge that too many evals can affect performance. there has to be a better way.
|
#5
|
||||
|
||||
Yeah I am aware of this. If I am going to make that addon that requires this it will only add a few if any.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|