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 | |
include("conexao.php"); | |
$km_troca_de_oleo = $_POST['km_tdo']; | |
$km_alinhamento = $_POST['km_alin']; | |
$km_revisao = $_POST['revisao']; | |
$km_abastecimento = $_POST['last_km_abastecimento']; | |
$data_abastecimento = $_POST['dt_lancamento_combustivel']; | |
$placa = $_POST['placa_do_veiculo']; |
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 | |
include("conexao.php"); | |
$placa = $_POST['placa_desejada']; | |
$sql = "SELECT * FROM veiculo WHERE placa = $placa"; | |
//buscando dados | |
$select = $conn->query($sql) or die($conn->error); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="_css/estilo.css"/> | |
<meta charset="UTF-8"/> | |
<title>Curso de PHP - CursoemVideo.com</title> | |
</head> | |
<body> | |
<div> | |
<form method="GET" action="contagem.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="_css/estilo.css"/> | |
<meta charset="UTF-8"/> | |
<title>Curso de PHP - CursoemVideo.com</title> | |
</head> | |
<body> | |
<div> | |
<?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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="_css/estilo.css"/> | |
<meta charset="UTF-8"/> | |
<title>Tabuada - resolução de exercício | front-end</title> | |
</head> | |
<body> | |
<div> | |
<form method="GET" action="tabuada.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 ContaCorrente | |
{ | |
private $titular; | |
public $agencia; | |
private $numero; | |
private $saldo; | |
public function __construct($titular, $agencia, $numero, $saldo) |