hack
This commit is contained in:
parent
9cc39a28e2
commit
e7beb544c5
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@
|
|||
$myfile = fopen("posts.txt", "r") or die("Unable to open file!");
|
||||
if ($myfile) {
|
||||
$index = 0;
|
||||
while (($line = strip_tags(fgets($myfile))) != " ") {
|
||||
while (mb_strlen($line = strip_tags(fgets($myfile))) > 1) {
|
||||
echo "<div class='post'><h2>" . $line . "</h2>";
|
||||
echo "<i>" . strip_tags(fgets($myfile)) . "</i>";
|
||||
echo "<canvas id='c" . $index . "' style='width: 100%;' width='128' height='64'></canvas></div>";
|
||||
|
|
Reference in a new issue