-
Notifications
You must be signed in to change notification settings - Fork 0
/
formularioAnyadirPokemon.php
75 lines (62 loc) · 1.55 KB
/
formularioAnyadirPokemon.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
include "includes/header.php";
?>
<html>
<title>Formulario_Añadir_Pokemon</title>
<link rel="stylesheet" type="text/css" href="css/estiloPokedex.css">
<body>
<h1>Añadir Pokemon</h1>
<form id="datos" name="formDatos" method="post" action="insertarPokemon.php">
<table align="center" border="1">
<th>Datos pokemon
<tr>
<td>Nº Pokedex</td>
<td><input type="number" name="num_pokedex" id="num_pokedex" required></td>
</tr>
<tr>
<td>Nombre</td>
<td><input type="text" name="nombre" id="nombre" required></td>
</tr>
<tr>
<td>Peso</td>
<td><input type="number" name="peso" id="peso" step="0.1" required></td>
</tr>
<tr>
<td>Altura</td>
<td><input type="number" name="altura" id="altura" step="0.1" required></td>
</tr>
</th>
<th>Estadisticas Base
<tr>
<td>Puntos De Salud</td>
<td><input type="number" name="ps" id="ps" required></td>
</tr>
<tr>
<td>Ataque</td>
<td><input type="number" name="ataque" id="ataque" required></td>
</tr>
<tr>
<td>Defensa</td>
<td><input type="number" name="defensa" id="defensa" required></td>
</tr>
<tr>
<td>Especial</td>
<td><input type="number" name="especial" id="especial" required></td>
</tr>
<tr>
<td>Velocidad</td>
<td><input type="number" name="velocidad" id="velocidad" required></td>
</tr>
</th>
<tr>
<td>
<button type="submit">Añadir Pokemon</button>
</td>
</tr>
</table>
</form>
</body>
</html>
<?php
include 'includes/footer.php';
?>