The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I just wanted to let you know that this part:
PHP Code:
So basically, if the connection fails, it will display the error and Connected to MySQL. I am not very good at PHP, but I believe you could write an if statement for this. PHP Code:
|
#12
|
|||
|
|||
That's a good thought, but in the case of a connection error the echo line wouldn't execute because die() ends the script.
|
#13
|
|||
|
|||
Quote:
So maybe instead of PHP Code:
PHP Code:
Please don't bash me if the above doesn't work, I'm not experienced and I'm also not sure if "or" works with echo. |
#14
|
|||
|
|||
Quote:
However, you can concatenate strings, vars, and function calls inside the die() statement: PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|