diff --git a/pokemon-db/banco.php b/pokemon-db/banco.php
new file mode 100644
index 00000000..6652de13
--- /dev/null
+++ b/pokemon-db/banco.php
@@ -0,0 +1,40 @@
+getMessage());
+ }
+ }
+ return self::$cont;
+ }
+
+ public static function desconectar()
+ {
+ self::$cont = null;
+ }
+}
+
+?>
diff --git a/pokemon-db/create.php b/pokemon-db/create.php
new file mode 100644
index 00000000..6bdae1f7
--- /dev/null
+++ b/pokemon-db/create.php
@@ -0,0 +1,325 @@
+setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
+ $sql = "INSERT INTO pokemon (Name,Pokedex_Number,Img_name, Generation, Evolution_Stage, FamilyID, Cross_gen, Type_1, Type_2, Weather_1, Weather_2, STAT_TOTAL, ATK, DEF, STA, Legendary, Aquireable, Spawns, Regional, Raidable, Hatchable, Shiny, Nest, New, NotGettable, Future_Evolve, 100_CP_40, 100_CP_39) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
+ $q = $pdo->prepare($sql);
+ $q->execute(array($nome,$num_pokedex, $img_name, $geracao, $evolucao, $IDfamilia, $cross_gen, $tipo1, $tipo2, $tempo1, $tempo2, $stats, $ataque, $defesa, $stamina,
+ $legendary, $aquireable, $spawns, $regional, $raid, $quebravel, $shiny, $nest, $novo, $naocapturavel, $futuraevol,
+ $cp39, $cp40));
+ Banco::desconectar();
+ header("Location: index.php");
+ }
+ catch (PDOException $e){
+ print "Erro!:" . $e->getMessage() . "
";
+ die();
+ }
+ }
+?>
+
+
+
+