User login

switch

How to use Less Than or Greater Than in a switch statement

Solution

(From rnreekez in the comments, syntax modified to conform to Drupal's more verbose coding standards.)

Technically you want your switch statement to process for all things TRUE.

Syndicate content