lo siento amigo, me tengo que ir, pero postea tu codigo igual, ya que aqui hay mucha gente dispuesta a ayudarte..... y si no a mi regreso te buscare alguna solucion
a primera vista se me ocurre algo como switch (...)... lee algo sobre esta funcion en
http://www.php.net/switch