$link =new mysqli('pokeswap.dot5hostingmysql.com', 'i4consulting', 'Youmymainman', i4consulting);
if (!$link) {
die('Could not connect: ' . mysql_error());
}
$sql = "SELECT * FROM POSTS ORDER BY ID ASC";
if ($result = $link->query($sql)) {
/* fetch associative array */
while ($row = $result->fetch_assoc()) {
echo '';
}
} ?>
';
echo htmlspecialchars($row['title']);
echo '
';
echo '';
echo htmlspecialchars($row['text']);
echo '