The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Convert mysql_stat to mysqli_stat help
I need to convert the following code snippets from MySQL to work with MySQLi
Code:
if ($_REQUEST['show'] == 'mysqlstats' || empty($_REQUEST['show'])) { print_form_header('', ''); print_table_header('MySQL Stats <span class="normal">mysql_stat()</span>'); print_description_row(si_mysqlstats()); print_table_footer(); } Code:
function si_mysqlstats() { $s = ''; $status = explode(' ', mysql_stat()); while ( list($k, $v) = each($status) ) { $s .= $v . '<br />'; } return $s; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|