On 07/13/2011 11:20 PM, Ron Piggott wrote:
>
> Is there a way to stream line this:
>
> if ( ( $val <> "with" ) AND ( $val <> "from" ) ) {
>
> Ron
>
> The Verse of the Day
> “Encouragement from God’s Word”
> http://www.TheVerseOfTheDay.info
>
Depends on what you mean by streamlined. If it were longer, this might
be useful:
if(!in_array($val, array('with','from','to','against','mom','dad')) {
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php