Posts by Igor Phelype Guimarães • 101 points
1 post
-
0
votes1
answer42
viewsA: Array bringing different PHP results
Use the method fetch_array instead of fetch. Your code will look like this: $consulta = "select * FROM PRODUTO_pedido WHERE PEDIDO_PED_ID=12"; $resultado = $db_con->query($consulta); $contador =…