nationavon
MIS
I need to verify that what someone enters is a number and not a word. I thought that something like this:
if ($keyword == 0..1000000){
print "It's a number!";
} else {
print "It's not a number";
}
would work but it doesn't.
if ($keyword == 0..1000000){
print "It's a number!";
} else {
print "It's not a number";
}
would work but it doesn't.