Buongiorno a tutti.
Da oggi, o ieri forse, non riesco più ad avere accesso al mio DB di archivio tramite alcune semplici pagine php che avevo creato come interfaccia.
L'errore che ottengo è il seguente:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /membri/legalys/dischi/search_evo.php:19 Stack trace: #0 {main} thrown in /membri/legalys/dischi/search_evo.php on line 19
Le pagine php non riescono più ad accedere al DB. Da php myadmin il DB è fortunatamente integro.
LA riga 19 è ovviamente quella che comunica l'impossibilità di accesso (in grassetto e sottolineato). Sotto le prime 19 righe della pagina php. Avete delle indicazioni e vi ringrazio già da ora?
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title>Tabella Ricerca Dischi</title>
</head>
<body>
<?php
$host = 'localhost';
$user = 'legalys';
$password = '';
$database = 'my_legalys';
$db = mysql_connect($host, $user, $password) or die ("impossibile connettersi al server $host");
Cristiano