// wybor i polaczenie z baza danych
i kod:
function ControllaRecord ($user, $pword, $dhost, $dbase, $dtable, $wordid, $tempo, $tentativi) { $riga = $res; if ($tentativi<$riga[3] or ($tentativi==$riga[3] and $tempo<$riga[4])) $chk[0] = true; if ($riga[3]==6) $riga[2]='*nuovo**'; $chk[1] = $riga[2]; $chk[2] = $riga[3]; $chk[3] = $riga[4]; return $chk; }
zwraca:
Cytat
Warning: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\AppServ\www\...\index.php on line 42
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\AppServ\www\...\index.php on line 42
Warning: mysql_close(): no MySQL-Link resource supplied in C:\AppServ\www\...\index.php on line 50
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\AppServ\www\...\index.php on line 42
Warning: mysql_close(): no MySQL-Link resource supplied in C:\AppServ\www\...\index.php on line 50
MySQL działa, uprawnienia dla root nadane, hasło istnieje.