This file contains hidden or 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 get_header(); ?> | |
<div class="container" style="margin-top: 2rem;"> | |
<?php get_template_part('loop'); ?> | |
<?php get_template_part('pagination'); ?> | |
</div> |
This file contains hidden or 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 | |
$servidor = 'localhost'; | |
$usuario = 'root'; | |
$senha = ''; | |
$banco = 'mydb'; | |
$mysqli = new mysqli($servidor, $usuario, $senha, $banco); | |
// Deletando dados |
This file contains hidden or 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 | |
$servidor = 'localhost'; | |
$usuario = 'root'; | |
$senha = ''; | |
$banco = 'mydb'; | |
$mysqli = new mysqli($servidor, $usuario, $senha, $banco); | |
// Executa |
This file contains hidden or 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 | |
$servidor = 'localhost'; | |
$usuario = 'root'; | |
$senha = ''; | |
$banco = 'mydb'; | |
// Conecta-se ao banco, usando os valores das variaveis acima | |
$mysqli = new mysqli($servidor, $usuario, $senha, $banco); |
This file contains hidden or 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
<!--site--> | |
<div class="container-fluid"> | |
<div class="row"> | |
<!--artigos--> | |
<div class="col-md-8 col-6"> | |
This file contains hidden or 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
<div class="row"> | |
<!--artigos--> | |
<div class="col-md-8 col-6"> | |
~ARTIGOS AQUI~ | |
</div><!--/col-md-8--> | |
This file contains hidden or 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
<div class="row"> | |
<!--artigos--> | |
<div class="col-md-8"> | |
~ARTIGOS AQUI~ | |
</div><!--/col-md-8--> | |
<!--/artigos--> |
This file contains hidden or 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
<div class="col-md-8"> | |
~ARTIGOS AQUI~ | |
</div> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Meu primeiro site</title> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!--css importante--> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous"> | |
<!--/css importante--> |
NewerOlder