PHP -тест, если три значения равны
if ((a == b) && (b == c)) {
... they're all equal ...
}
Fine Fly
if ((a == b) && (b == c)) {
... they're all equal ...
}