Page 1 of 1

Just a litle question ^^

Posted: Sat Oct 08, 2005 7:26 am
by LmS
Hey all,
Yes it's me again ^^

Code: Select all

<?
$age=$_POST["age"];
if ($age <= 14) {
	echo "<font face='Verdana' size='4'><b>Your to young sorry!</b>";
}else{
	echo "Welcome!";
}
//Rest is comming soon!
?>
This is strange really,
If i give an input of 13 its say Your to young sorry!, that correct, but if i give the input of 45 it say tha same agian instaid of Welcome! I tryed difrent ways, finaly i came out always ussing == this sign, buth the code should be to long ^^. Help :p

Thnx again :)

Posted: Sat Oct 08, 2005 7:30 am
by feyd