Posts by rafaelpteixeira • 61 points
2 posts
-
2
votes2
answers77
viewsA: Error when Count() less than 1
Bom Flávio. I would do something like this! public function verificaResultados($lista){ if(isset($lista)){ $total_results = count($lista); if($total_results <= 0){ echo "nada encontrado"; }else{…
phpanswered rafaelpteixeira 61 -
4
votes3
answers816
viewsA: Validate field of CPF
The variable $cpf is equal to true. With this he is saving 1 in the database. Try to separate things to do calmly. First receive the data via Post $nome = $_POST['nome']; $cpf = $_POST['cpf']; Then…
phpanswered rafaelpteixeira 61