Quote:
You do know that nothing after
PHP Code:
return $site_mysqli;
is going to work rite?
|
Do you have any advice on how to get it work? I am a novice with this sorry.
This better:
Code:
$site_mysqli = new mysqli('localhost', 'root', 'Password', 'trader');
if($site_mysqli->connect_errno > 0) {
die('Unable to connect to database ['.$site_mysqli->connect_error.']');
}
//return $site_mysqli;
mysqli_close($site_mysqli);
userlogin();
if ($autoclean) {
register_shutdown_function("autoclean");
}
Quote:
Me personally think it best to start with clean tt 2.0.8 no mods and redo the backend to use mysqli then from there integrate smarty template system and from there making a fully working admincp with an better clean up i can probably give an hand for mysqli stuff at some point but for next few months or over summer i bit busy
|
I have not added in any mods wanted to update the base then add mods later on but your right about the admincp she needs a overhaul you know for a basic control panel she doesn't look too bad, I wanted to try to keep that in tact. I mean you could update it too be a fancy backend but sometimes that becomes cluttered and people hate that I would assume, though a bootstrap backend with a admin login would be sweet. Thanks for offering your help
P.S Your rewrite engine could you tech me how that works I guess you could say I am a novice, thanks again bro