Re: ELSEIF OR Equivalent

2004-01-16 Thread Roger Baklund
* Russell Michell > I was wondering if it's possible to perform an "elseif" in SQL Using MySQL > 3.23.49-log running on Debian Linux? It sure is. See below. > My System: > -- > > * MySQL 3.23.49-log > * Debian Linux > * PHP 4.2.1 > > The Logic: > -- > > IF condition1 - THEN query

ELSEIF OR Equivalent

2004-01-16 Thread Russell Michell
Hi there: I was wondering if it's possible to perform an "elseif" in SQL Using MySQL 3.23.49-log running on Debian Linux? My System: -- * MySQL 3.23.49-log * Debian Linux * PHP 4.2.1 The Logic: -- IF condition1 - THEN query column1. ELSEIF condition2 - THEN query column2. ELSE