Posts by André Molinari • 27 points
6 posts
-
0
votes0
answers71
viewsQ: PHP: Only scroll correctly through FOREACH if all checkboxes are selected
I am doing a job and I need to understand why my foreach is only traveled to do what I wish when checkboxes are selected in order: <?php require_once("cabecalho.php"); $questao = new Questao ();…
phpasked André Molinari 27 -
2
votes1
answer1405
viewsQ: PHP CPF validator
Good afternoon, everyone, I’d like to know what’s wrong with my Cpf validator, made in PHP. What happens, it validates my number, my mother’s, brother’s, girlfriend’s and grandma’s. But, when I test…
phpasked André Molinari 27 -
0
votes1
answer44
viewsA: Attribute for $_POST loses information
Guys figured out the problem, I was sending the input this way: <input type="hidden" name="nomeConteudo" value=<?=$nomeConteudo;?> > and the correct is this: <input type="hidden"…
-
0
votes1
answer44
viewsQ: Attribute for $_POST loses information
I have an attribute called $nomeConteudo, that makes a select in my database and returns the value correctly, because through echo I confirm that the value is normal. Within a form, I need to send…
-
0
votes1
answer54
viewsQ: Error while doing select
Warning: mysqli_fetch_assoc() expects Parameter 1 to be mysqli_result, Boolean Given I already tested the fetch_array, fetch_object, I don’t know how to do it. function pegaId($nomeConteudo){ $query…
-
0
votes1
answer349
viewsQ: PHP - Receiving the ID of a value via select option $_POST
Good afternoon guys, I’m developing a code. I need to get a value to register it as fkid of a table. I have that part of the code: <td><h3>Vincular Conteudo</h3></td> <td…