Codice PHP:
<form action="script.php" method="post">
<input type="text" name="text[0]" />
<input type="text" name="text[1]" />
<input type="text" name="text[2]" />
<input type="text" name="text[3]" />
<input type="text" name="text[4]" />
<input type="submit" />
</form>
Ho risposto?Codice PHP:
/* script.php */
$text=$_POST['text'];
for($i=0;$i<5;$i++)
for($j=0;$j<5;$j++){
if($text[$i]==$text[$j])
echo "Hai inserito dei valori uguali"
}