ecco il while.codice:<? $sql="SELECT * FROM offerteformati order by id"; $delete=mysql_query($sql); $j=0; while ($row = mysql_fetch_array($delete)) { $j++; ?> <form name="form2" method="post" action="<?PHP echo PHP_SELF ?>"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="34%" valign="top"><? echo $row['id']; ?><input type="hidden" name="id" value="<? echo $row['id']; ?>"></td> <td width="34%" valign="top">da:<? echo $row['dagg']; ?>/<? echo $row['damm']; ?>/<? echo $row['daaaaa']; ?> a: <? echo $row['agg']; ?>/<? echo $row['amm']; ?>/<? echo $row['aaaaa']; ?></td> <td width="56%" valign="top">messaggio:<? echo $row['messaggio']; ?></td> <input type="hidden" name="pag" value="./admin/gestioneprezzi.php"> <td width="10%" valign="top"><input name="elimina" type="submit" value="Elimina" onclick="if(confirm('Vuoi eliminarla definitivamente?')) return true; else return false;" ></td> </tr> </table> <? } ?>
quindi?

Rispondi quotando
