Good afternoon my friend, I have a wrong treatment and I would like to solve it. I can not see the information.
Code line
<option value="<?php echo $results[0]['id_vendedor']; ?>"><?php echo $results[1]["nome_vendedor"]; ?></option>
Good afternoon my friend, I have a wrong treatment and I would like to solve it. I can not see the information.
<option value="<?php echo $results[0]['id_vendedor']; ?>"><?php echo $results[1]["nome_vendedor"]; ?></option>
I solved it like this: It happens that I was always picking up the next index, so when I reached the last index, it played +1, and that index did not exist.
<option value="<?php echo $results[0]['id_revenda']; ?>"><?php echo $results[0]["nome_revenda"]; ?></option>