Those = signs are ASSIGNING to $type, not comparing. You want the 'eq' operator to compare strings for equality.if ($type = "email") { ... } if ($type = "article") { ... }
In reply to Re^4: Trying to Debug DB Search
by japhy
in thread Trying to Debug DB Search
by Cappadonna3030
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |