Jonas Leder

Über mich

Hallo, mein Name ist Jonas Leder. Ich bin aktuell Student an der Dualen Hochschule Baden-Württemberg in Mannheim Fachrichtung Angewandte Informatik.

Blog

query("SELECT * FROM posts order by id desc limit $homeMaxPost"); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { $title = $row["title"]; $id = $row["id"]; $content = explode(" ", $row["content"]); $contentNew = ""; if(count($content) > 800){ $temp = str_split($content, 800); $contentNew = $temp[0]; $contentNew = $content . explode(" ", $temp[1])[0] . " ..."; } else { $contentNew = $row["content"]; } echo(<<

$title

$contentNew

EOF); } } ?>
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. More info