updated index.php with name attr