Menu
[B]
hi ifinish from my web site but iwant add filter for forms iwant players use numbers
iuse this code but not work good:
$pattern = ‘/^[0-9]$/’;
if(!preg_match($pattern,$input1){
echo “not numbers”;
}else{
echo “numbers”;
}
any one can tell me whats wrong itried before use filters from w3school but ithink its not work with php4