Skip to content

Instantly share code, notes, and snippets.

@steffengrahl
Created November 14, 2016 16:33
Show Gist options
  • Save steffengrahl/6829bf65d75858c352c2422b6ea926c0 to your computer and use it in GitHub Desktop.
Save steffengrahl/6829bf65d75858c352c2422b6ea926c0 to your computer and use it in GitHub Desktop.
<div class="wrapper">
<?php
while($tom = mysqli_fetch_array($pinky, MYSQL_ASSOC))
{
echo '
<div class="container">
<div id="container_inner">
<p>
<img src="fotos/240x180.gif" width="104" height="90" style="float:right; margin: 10px;">';
echo substr($tom['text'],0 ,400 );
echo '
</p>
</div>
<p>
<a href="fulltext.php?weiterlesen='.$tom['id'].'" style="float:right;">
weiter lesen
</a>
</p>
</div>';
}
?>
</div><!-- ende class-wrapper -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment