Posts by Marcelo Nassar • 1 point
2 posts
-
0
votes2
answers174
viewsQ: array to string conversion error
I need to insert in the variable database that are in a php array, I wrote the cogido: for ($i=1; $i <= 20 ; $i++) { $sqlp= "INSERT INTO pergunta$i (pergunta, opcao1, valor1, opcao2, valor2,…
-
0
votes1
answer21
viewsQ: Taking data from php formats with cycles
I need to use some PHP cycle to get the form data on a processing page. I thought I’d put a count variable inside an input name ID box, like this: $c=1; while($c <= 5) { $tabela[$c]=…