-1
Good morning Guys Dev, since yesterday I came across a somewhat bizarre situation (if I may say so).
I’m using php to load a select and bring the answer in a while:
while($dados = $sql->fetch_assoc()){
$cd_cobr = $dados["cd_tipo_cobr"];
$ds_cobr = $dados["ds_tipo_cobr"];
echo("<option value='$cd_cobr' selected='yes'> $ds_cobr </option>");
echo("$cd_cobr $ds_cobr");
}
I’ve done it like this a million times, but since yesterday he’s been loading html like this:
Notice that I purposely printed the variables to see if the value was correct, and it is. If I invert the order variables only show the PAG. Does anyone have any idea what it might be?