2019-11-03 04:53:48 +00:00
|
|
|
<?php
|
|
|
|
$db = mysqli_connect('localhost', 'root', '', 'mspa');
|
|
|
|
|
|
|
|
if (!$db) {
|
|
|
|
exit("Connection failed: " . mysqli_connect_error());
|
2019-11-03 15:40:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//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>"; ?>
|