Is there anything built into php that would do something like this , but in
all of the possible languages?
switch ($restriction_week_days) {
   case "1":
   $restriction_day = "Monday,Lunes,Lundi";
   break;
   case "2":
   $restriction_day = "Tuesday,Martes,Mardi";
   break;
   case "3":
   $restriction_day = "Wednesday,Miercoles, Mercredi";
   break;
   case "4":
   $restriction_day = "Thursday , Jueves, Jeudi";
   break;
   case "5":
   $restriction_day = "Friday, Viernes,Vendredi";
   break;
   case "6":
   $restriction_day = "Saturday, Sabado, Samedi";
   break;
   case "7":
   $restriction_day = "Sunday, Domingo, Dimanche";
   break;


--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039 ext 214
Fax : 00-34-915228673
email: [EMAIL PROTECTED]
Web : http://www.hotelkey.com
      http://www.destinia.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to