<?php
include 'binaryTree.php';
$tree = new Tree();
$servername = '127.0.0.1';
$username= 'root';
$password ='';
//Connecting to database
if($link= mysql_connect($servername, $username, $password))
{
mysql_select_db('binary') or die(mysql_error());
}
$tree->binarytree(1, $link);
?>
|