String compare of 7 text strings

From: Date: Sat, 14 Aug 2004 02:07:38 +0000
Subject: String compare of 7 text strings
Groups: php.general 
Request: Send a blank email to php-general+get-193778@lists.php.net to get a copy of this message
I wanted to see if anyone has an easier way to do this. The end result is this: I need to compare 7 different text strings(which are in an array). They should all be the same, if they are not the same, a message should be outputted saying they weren't. How would one do this outside of using a huge if/then statement? Thanks, Brent

« previous php.general (#193778) next »