<html>
<head>
   <title>VLDB</title>
</head>
<body bgcolor="#FFFFFF">



<center><h3><font color="#FF0000">Acceptance rates VLDB</font></h3></center>


<center><table BORDER=3 CELLSPACING=3 CELLPADDING=4 COLS=4 WIDTH="90%" BGCOLOR="#FFFFFF" BORDERCOLOR="red" >

<tr ALIGN=CENTER VALIGN=CENTER BORDERCOLOR="red">
<th>Year</th>
<th>Number submitted</th>
<th>Number accepted</th>
<th>Percentage</th>
</tr>

<?php
  $db=mysql_connect("janus","w_apers","peru");
     mysql_select_db("conferenties");


     $result=mysql_query("select year, submitted, accepted
                          from stats
                          where conf_id=1", $db);
?>





<?php

while ($row=mysql_fetch_row($result))
echo "<tr ALIGN=CENTER VALIGN=CENTER><td>",
      $row[0],
      "</td> <td>",
      $row[1],
      "</td> <td>",
      $row[2],
      "</td> <td>",
      round($row[2]/$row[1]*100),
      "%</td></tr>\n";


?>
</table></center>

</body>
</html>

