Code: Select all
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u128144697/public_html/lgsl_files/lgsl_config.php on line 6
Moderators: Moderatori ajutatori, Moderatori
Code: Select all
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u128144697/public_html/lgsl_files/lgsl_config.php on line 6
Code: Select all
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
Code: Select all
$conn = mysqli_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
Nu trebuie neaparat PDO.DRS wrote:Pe hostinger nu ai pluginul PDO activat, te sfatuiesc sa iei de la o firma hosting.
Code: Select all
The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in
DRS wrote:stefanbri ba da, aici cere mysqly si PDO..
Spune ca extinderea este depreciata si va fi indepartata in viitor folosind mysqli si PDOCode: Select all
The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in
Code: Select all
$conexiune = mysqli_connect($host, $user, $parola);