Hello, I am studying a code that I found on the internet and I am doubtful in this part here:
foreach($arrayDados as $chave => $valor):
$campos .= $chave . ', ';
$valores .= '?, ';
endforeach;
The point between the $ key variable and the comma that were assigned to the $ fields variable is for concatenation, however I did not understand the strong>) between the $ code variable and the "=" sign and the same point appears between the variable $ values and the equality. Without them the code does not work right