in reply to Re^3: Trying to Debug DB Search
in thread Trying to Debug DB Search
Those = signs are ASSIGNING to $type, not comparing. You want the 'eq' operator to compare strings for equality.if ($type = "email") { ... } if ($type = "article") { ... }
|
|---|