TABLESIZE:
ID|NOME|PRECO1|06x08|0.002|08x10|0.003|09x12|0.004|11x14|0.005|13x18|0.006|18x24|0.00
Ineedtoupdateprices...howdoIdothisusingUPDATE
withPDOMySELECT
isthustogetherwithaWHILE
<divclass="panel-body">
<?php
$pdo = db_connect();
$listar = $pdo->prepare("SELECT * FROM tamanhos");
$listar->execute();
while ($dados = $listar->fetch(PDO::FETCH_OBJ)){
?>
<div class="form-group">
<label class="col-sm-2 control-label"><?php echo $dados->nome; ?></label>
<div class="col-sm-4">
<input type="text" name="tamanho[]" id="tamanho" class="form-control porcelana" value="<?php echo $dados->preco; ?>" />
</div>
</div>
<? } ?>
</div>