hvordan for jeg value tjekket til at virke på alle kald
jeg har to script der ser sådan her ud<html>
<!--Form2.html-->
<body>
<center><b>please choose your delivery and payment method</b></center>
<form METHOD=GET ACTION="collect_info.php">
what is your ful name <INPUT TYPE ="TEXT" NAME="Full_name">
<br>what is the best day of delivery
<select name="day_of_week[]"mutiple >
<option>monday
<option>tuesday
<option>wednesday
<option>thursday
<option>friday
<option>saturday
<option>sunday
</select>
<P>
how do you want to pay<Br>
cheque<INPUT TYPE="RADIO" NAME="PAYMENT" VALUE="CHEQUE">
visa card <INPUT TYPE ="RADIO" NAME="PAYMENT" VALUE="visa card">
mony <input type="RADIO" name ="PAYMENT" VALUE="money">
<P>
<INPUT TYPE="SUBMIT" VALUE ="send me the detailes !">
<input type="RESET" VALUE ="Clear me !">
</form>
</body>
og
<html>
<body>
<?
echo "thank you $Full_name <br>";
echo "we can konfirm that you word like the delivery on";
if(sizeof($day_of_week)>="1") {
foreach ($day_of_week as $value ){
echo "<br><b>$value</b>";
}
}else{
echo "<br> no selction mad for payment";
}
if(sizeof($PAYMENT)>="1") {
foreach ($PAYMENT as $value2 ){
echo "<br><b> the payment is $value2</b>";
}
}else{
echo "<br> no selction mad for delivery day";
}
?>
</body>
</html>
hvordan for jeg den til at tjekke alle værdigere om de er udfyldte