<?php
require "dbconnect.php"; 

?>
<head>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
</head>	 
<body>
<title>basicTable.html</title>
<style type = "text/css">
<style type="text/css">
table.myTablex { border-collapse:collapse; }
table.myTablex td, table.myTable th { border:0px solid black;padding:2px;font-size:11pt; }
    </style>
  </head>
<?php

$sql = mysqli_query($con,"SELECT * FROM generalinfo" );
$row = mysqli_fetch_array($sql);
$schname=$row['schoolname'];
$xronia=$row['year'];
$logo=$row['logo'];
$tel=$row['tel'];
$adr1=$row['adr1'];
?> 
  <body>
    
    <table class="myTablex">
      <tr>
        <td rowspan="2"> <img src=<?php echo $logo;?>  /> </td>
        <td><?php echo $schname." /"." ΣΧΟΛΙΚΗ ΧΡΟΝΙΑ ".$xronia;?> </td>
        </tr>
        
    </table>
</body>
