added sqltable
corrected index.php