Soldato
- Joined
- 7 Jan 2007
- Posts
- 10,607
- Location
- Sussex, UK
I have the following as an if statement:
How do I make sure that the if statement checks that $ThisWeeksResults isn't equal to $LastWeeksResults AND that $ThisWeeksResults is_numeric?
PHP:
if ($ThisWeeksResults != $LastWeeksResults) {
print '$ThisWeeksResults';
}
else {
print 'either the numbers are equal to each other or there isnt numerics in this weeks results';
}
How do I make sure that the if statement checks that $ThisWeeksResults isn't equal to $LastWeeksResults AND that $ThisWeeksResults is_numeric?