I know this is probably not the right place to put this topic, but I dont know where to write it, so excuse me. Here is my problem...
My site doesnt work for Hi5 , since the database in sql its l2jls, l2jgs, l2jcs not only l2jdb like before Hi5. This code must be rewriten in order the site to work. Otherwise no Login/Game server online/offline.
code of stats.php :
<?php
$db_user = "root";
$db_pass = "pass";
$db_name = "l2jdb"; (<=old style)
$db_serv = "adress";
$res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");
$resdb = mysql_select_db ( $db_name, $res );
return $res;
?>
If someone knows how to fix it please do so!
And NO it doesnt work with changing $db_name = "l2jgs" !!!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
busta
I know this is probably not the right place to put this topic, but I dont know where to write it, so excuse me. Here is my problem...
My site doesnt work for Hi5 , since the database in sql its l2jls, l2jgs, l2jcs not only l2jdb like before Hi5. This code must be rewriten in order the site to work. Otherwise no Login/Game server online/offline.
code of stats.php :
<?php
$db_user = "root";
$db_pass = "pass";
$db_name = "l2jdb"; (<=old style)
$db_serv = "adress";
$res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");
$resdb = mysql_select_db ( $db_name, $res );
return $res;
?>
If someone knows how to fix it please do so!
And NO it doesnt work with changing $db_name = "l2jgs" !!!
Please someone help me!
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.