Andreu | 8192d55 | 2019-09-22 16:51:39 +0200 | [diff] [blame] | 1 | <h1>Crea nova taula/Inserta valors</h1> |
| 2 | <form action="createtable.php" method="GET"> |
| 3 | <label>Crear taula: <input type="text" name="dbname" placeholder="Nom de la base de dades" /></label> |
| 4 | <input type="submit" /> |
| 5 | </form> |
| 6 | |
| 7 | <form action="insert.php" method="POST" enctype="multipart/form-data"> |
| 8 | <label>Insert CSV: <input type="file" name="csvname" /></label> |
| 9 | <input type="text" name="dbname" placeholder="Nom de la base de dades" value="<?=isset($_GET['dbname']) ? $_GET['dbname'] : ''?>" /> |
| 10 | <input type="submit" /> |
| 11 | </form> |