Answer the question
In order to leave comments, you need to log in
The server is not connecting to mysql. Where to dig?
<!DOCTYPE HTML>
<html>
<head>
<?php
$link = mysql_connect('localhost', 'root', 'gfueduvuru235', 'game');
if ( !$link ) die ("Невозможно подключение к MySQL");
?>
<meta charset="utf-8">
<link href="main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<canvas id="scene" width="1300" height="600"></canvas>
</div>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Do you have mysql extension in PHP? It was thrown out of PHP 7, because it is very outdated.
$link = mysql_connect('localhost', 'root', 'gfueduvuru235', 'game');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question