Почему я получаю эту неожиданную ошибку?
Parse error: syntax error, unexpected end of file in C:\wamp64\www\database\mydb.php on line 55
Что я уже пробовал:
<?php echo "<!DOCTYPE html>"; echo "<html>"; echo "<head>"; echo "<title> Psychiatric disorders database </title>"; echo "<style>"; echo "<table align='center' border='1px' width:'600px' line-height:'40px;'>"; echo "</style>"; echo "</head>"; echo "<body>"; $servername = "localhost"; $username = "root"; $password = ""; $dbname = "mydb"; include("connection.php"); $sql = "SELECT * FROM `schizophrenia raw datasets` "; if($result = mysqli_query($conn, $sql)){ echo "<table>"; echo "<tr>"; echo "<th>Accession ID</th>"; echo "<th>Title</th>"; echo "<th>Abstract</th>"; echo "<th>Sample size</th>"; echo "<th>Tissue type</th>"; echo "<th>PMID</th>"; echo "<th>Platform ID</th>"; echo "<th>Platform details</th>"; echo "<th>Raw data</th>"; echo "</tr>"; while($row = mysqli_fetch_array($result)){ echo "<tr>"; echo "<td>" . $row['Accession ID'] . "</td>"; echo "<td>" . $row['Title'] . "</td>"; echo "<td>" . $row['Abstract'] . "</td>"; echo "<td>" . $row['Sample size'] . "</td>"; echo "<td>" . $row['Tissue type'] . "</td>"; echo "<td>" . $row['PMID'] . "</td>"; echo "<td>" . $row['Platform ID'] . "</td>"; echo "<td>" . $row['Platform details'] . "</td>"; echo "<td>" . $row['Raw data'] . "</td>"; echo "</tr>"; } echo "</table>"; // Close connection mysqli_close($conn); echo "</body>"; echo "</html>"; ?>