Update DNP_tables.php

The index name as "index" was the  main error and some other syntax which has been sorted now.