Posts by Flavio Cordas • 47 points
10 posts
-
-2
votes2
answers1634
viewsA: Select records smaller than the current date and time
$today = date("d/m/Y"); $dia = date("d"); $mes = date("m"); $ano = date("Y"); $total = 0; function selectAllPessoa(){ $banco = abrirBanco(); $sql = "SELECT * FROM agenda WHERE status = 'N'…
-
0
votes1
answer34
viewsQ: What mistake am I making when I put the third "address" item in the code
<?php include"conectar.php"; /// codigo para fazer leitura do banco de dados /// incluindo ?php echo $cpf ? entre <> na tabela onde ficará o registro $query="select nome, cpf from…
-
0
votes1
answer134
viewsQ: Friends I’m trying to do a zip search using javascript, where am I missing?
Javascript: <script type="text/javascript" > function limpa_formulário_cep() { //Limpa valores do formulário de cep. document.getElementById('endereco').value=("");…
-
0
votes1
answer498
viewsQ: Redirect pages using if, Else if and Else attributes what is wrong?
my php code <?php include "conectar.php"; //comando para iserir dados direto do formul?rio para o banco de dados $nome=$_POST["nome"]; $cpf=$_POST["cpf"]; $identidade=$_POST["identidade"];…
-
0
votes0
answers34
viewsQ: I made a code to send on the screen the number of Cpf, It is working but acknowledging an error!
<?php include"conectar.php"; $query="select cpf from teste where cpf = '" . $cpf . "' order by teste"; $stmt=mysqli_query($con,$query); if($stmt) { $today = date("d.m.y"); } else {…
-
1
votes1
answer30
viewsQ: I want to recognize Cpf in the table, display a page with other data. Where am I missing?
Warning: mysql_num_rows() expects Parameter 1 to be Resource, Object Given in C: xampp htdocs associated.php on line 15 My php code <?php include"conectar.php"; // RECEBENDO OS DADOS PREENCHIDOS…
-
0
votes2
answers2682
viewsQ: How to set up XAMPP for Sql Server 2014
Can anyone teach me how to set up XAMPP for Sql Server 2014? I’m in a project that doesn’t allow Mysql (PHPMYADMIN).
-
-1
votes1
answer84
viewsQ: I don’t understand this mistake
My PHP code: <?php include "conectar.php"; //comando para iserir dados direto do formulário para o banco de dados $vnome=$_POST['nome']; $vcpf=$_POST['cpf']; $videntidade=$_POST["identidade"];…
-
0
votes1
answer404
viewsQ: I made this code to send an automatic email to the subscriber in db . The registration is ok, but the email does not go to the client. What is wrong?
php code <?php include "conectar.php"; //comando para iserir dados direto do formulário para o banco de dados $vnome=$_POST['nome']; $vcpf=$_POST['cpf']; $videntidade=$_POST["identidade"];…
-
2
votes0
answers65
viewsQ: What’s wrong with my code? Insert a data and then insert no more!
html: <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Untitled Page</title> <meta name="generator" content="WYSIWYG Web Builder…