Andreu Huguet | 3f6f62e | 2020-09-15 16:44:26 +0200 | [diff] [blame] | 1 | <h1>Crea nova taula</h1> |
Andreu | 8192d55 | 2019-09-22 16:51:39 +0200 | [diff] [blame] | 2 | <form action="createtable.php" method="GET"> |
| 3 | <label>Crear taula: <input type="text" name="dbname" placeholder="Nom de la base de dades" /></label> |
Adrià Vilanova Martínez | 3636291 | 2022-11-20 01:30:13 +0100 | [diff] [blame] | 4 | <input type="password" name="token" placeholder="Token"> |
Andreu | 8192d55 | 2019-09-22 16:51:39 +0200 | [diff] [blame] | 5 | <input type="submit" /> |
| 6 | </form> |
| 7 | |
Andreu Huguet | 3f6f62e | 2020-09-15 16:44:26 +0200 | [diff] [blame] | 8 | <h1>Inserta valors</h1> |
Andreu | 8192d55 | 2019-09-22 16:51:39 +0200 | [diff] [blame] | 9 | <form action="insert.php" method="POST" enctype="multipart/form-data"> |
| 10 | <label>Insert CSV: <input type="file" name="csvname" /></label> |
| 11 | <input type="text" name="dbname" placeholder="Nom de la base de dades" value="<?=isset($_GET['dbname']) ? $_GET['dbname'] : ''?>" /> |
Adrià Vilanova Martínez | 4861da6 | 2022-12-10 21:58:42 +0100 | [diff] [blame] | 12 | <input type="text" name="forcepos" placeholder="Posicions forçades (ex: [{'id': 0, 'pos': 2}])"> |
Adrià Vilanova Martínez | 3636291 | 2022-11-20 01:30:13 +0100 | [diff] [blame] | 13 | <input type="password" name="token" placeholder="Token"> |
Andreu | 8192d55 | 2019-09-22 16:51:39 +0200 | [diff] [blame] | 14 | <input type="submit" /> |
| 15 | </form> |