0

Hello,

I have an If statement that i want to use to determine whether the variableis a integer or not.

The example below does not work but illustrates what i would like to be able to do:

If($x/4==interger) {echo ("this is a integer");} else {echo ("This is not a integer");}

I would appreciate the help;

Thanks

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by opticblaze
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.