-1
just use a accountant, or when it is 2 iteration in while will do what is desired(in this case will print publicidade
).
And you use the continue
, to jump to the next iteration.
<?php
$contador = 0;
while($fetch = $get->fetch()){
$contador++;
echo "conteudo";
if($contador == 2){
//Resultado estatico na segunda vez do while
echo "publicidade";
}
}
The question is about how to format the results side by side or how to build the php code that brings the static result in 2nd place?
– Isac