<?php
include_once('../database_connection');

?>
<link rel="stylesheet" href="./dist/listree.min.css"/>
<script src="./dist/listree.umd.min.js"></script>

<ul class="listree">
<?php
$sql="select * from Accounts where active=1 and degree=1 order by under";
$result=odbc_exec($connection,$sql);
while($row=odbc_fetch_array($result))
{
$data=$data.'<li>
    <div class="listree-submenu-heading">Item 1</div>';

$data=$data.'</li>';
}
?>
  <!-- <li>
    <div class="listree-submenu-heading">Item 1</div> -->
    <!-- <ul class="listree-submenu-items">
      <li>
        <div class="listree-submenu-heading">Item 1-1</div>
          <ul class="listree-submenu-items">
            <li>
              <div class="listree-submenu-heading">Item 1-1-1</div>
                <ul class="listree-submenu-items">
                  <li>
                    <div class="listree-submenu-heading">Item 1-1-1-1</div>
                      <ul class="listree-submenu-items">
                      <li>
                        <a href="">Item 1-1-1-1-1</a>
                      </li>
                      <li>
                        <a href="">Item 1-1-1-1-2</a>
                      </li>
                      </ul>
                  </li>
                </ul>
            </li>
          </ul>
      </li>
    </ul> -->
  <!-- </li> -->
  // more list items here
</ul>

<script>
listree();

</script>