require "connection.php";
connection();
$sql = "SELECT * FROM rogacz_dk";
$result = @mysql_query($sql)
or die("");
while ($row = mysql_fetch_array($result)) {
$p = $row['p'];
$o = $row['o'];
$m = $row['m'];
$typ = $row['typ'];
$nr = $row['nr'];
$i1 = $row['i1'];
$i2 = $row['i2'];
$i3 = $row['i3'];
$display_block .= "
|
|
|
|
|
|
|
|
|
|
|
 |
 |
$typ |
|
$o |
|
|
";
}
echo "$display_block"; ?>
$to="jerzy.sobczak@remodexjagt.com";
$msg= "Godzina i data: \t$data\n";
$msg .= "Adres ip: \t$ip\n";
$msg .= "Host: \t$host\n\n";
$subject="Index DK - revirer";
mail($to, $subject, $msg);
?>