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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.