12 lines
391 B
PHP
12 lines
391 B
PHP
<?php
|
|
$db = mysqli_connect('localhost', 'root', '', 'mspa');
|
|
|
|
if (!$db) {
|
|
exit("Connection failed: " . mysqli_connect_error());
|
|
}
|
|
|
|
//echo "<h1>".$pageinfo["title"]."</h1><br>";
|
|
//if($pageinfo["has-image"] = 1) {echo "<img src='".$pageinfo["image"]."' class='mar-x-auto disp-bl'>";};
|
|
//echo "<p>".$pageinfo["content"]."</p>";
|
|
|
|
//echo "<a href='".$nextpage."'>".$npage["title"]."</a>"; ?>
|