On Thursday 29 June 2006 06:51, tedd wrote: > At 8:15 PM -0400 6/28/06, Robert Cummings wrote: > >On Wed, 2006-06-28 at 20:02, David Tulloh wrote: > >> Grae Wolfe - PHP wrote: > >> > ... > >> > > > > > want. Any help would be great! > > -snip- if/elseif -snip- > > > <holy war id="opinion"> > > Whenever you need a elseif, then it's time to consider a switch -- like > thus: switch is fine if your elseif comparisons are equality based. If they're not equality based, then they don't map to switch as well. -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php