Re: variable de session y switch
| From: | Innox - Juan Carlos Gonzalez | Date: | Thu, 08 Jul 2004 16:28:56 +0000 |
| Subject: | Re: variable de session y switch | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-50075@lists.php.net to get a copy of this message | ||
Yo también he tenido problema con switches de texto; intenta esto:
switch (trim($u)){ // para evitar que tenga espacios o enters
}
si no usa el if () {} else if () {} que no es tan cansado de escribir
Saludos!
--
Atentamente / Sincerely,
Juan Carlos González
Innox - Innovación Inteligente
+52 (33) 3615 5348
jcgonz@innox.com.mx
http://www.innox.com.mx