This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-08-12T12:33:07.820Z","extensionVersion":"v3.4.1"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-SQL | |
//Insere no Banco | |
INSERT INTO t_pais (nomepais, iso3166) VALUES("Brasil", "BR") | |
//Seleciona no Banco | |
SELECT id FROM t_pais WHERE nomepais = "Brasil"; | |
----------------------------------------------------------------------------------------------------------------------------------------- | |
-PHP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Class Palavra { | |
private $classNome; | |
private $classTamanho; | |
private $ultimaLetra; | |
private $CaracterRepetido; | |
public function getClasseInfo($obj, $caracter) { | |
$array; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function valida_email($email) { | |
if(filter_var($email, FILTER_VALIDATE_EMAIL)) | |
return true; | |
else | |
return false; | |
} | |