Académique Documents
Professionnel Documents
Culture Documents
<meta charset="utf-8">
<body>
<form method="POST">
Nr Rinduri matrice: <input type="number" name="row" min="2" max="10" size="1" ><br>
<br>
Nr Coloane matrice: <input type="number" name="column" min="2" max="10" size="1"
><br>
<br>
<input type="submit" value="Creaza" , name="buton1">
</form>
<?php
echo '<div>';
echo '<br>';
echo 'Introduceti Alpha';
echo '<br>';
echo '<input type="number" name="alpha" step="any" value="'.$value.'" />';
echo '<br>';
echo'</div>';
echo '<br>';
echo '<div>'.'Introduceti vectorul probabilitatilor(ponderilor)
atributelor(criteriilor): '.'<table border="1">';
for ($td=1; $td<=$cols; $td++){
echo '<td>'.'<input type="number" step="any" name="pondere['.$td.']" min="-
99" max="99" maxlength="2" size="1" autocomplete="off" value="'.
$value.'"/>'.'</td>';
}
echo'</table>'.'</div>';
echo '<br>';
echo '<br>';
echo '<input type=hidden name="rows" value="'.$rows.'">'
.'<input type=hidden name="cols" value="'.$cols.'">'.'<input type="submit"
value="Отправить" />';
echo '</form>';
}
?>
</body>
</html>