Sry, it was just confused that a dot requires the string to be defined. Bad that a answer dropped so far that I couldn´t delete it...
The $content string will be written into an html file. When I run this I get this error, whats wrong with it ?
Notice: Undefined variable: content in C:\wamp\www\serverstatus\example.php on line 66
foreach ($ips as $id => $ip) {
$content .= '
<div class="server">
<div class="head">
<h2>'.$id.'</h2>
</div>
<div class="content">
<ul>
<li class="status"></li>
<li class="ping"></li>
<li class="player"></li>
<li class="version"></li>
<li class="motd"></li>
</ul>
</div>
</div>
';