[linux-programlama] Re: Php'de sayi formati

---------

From: msakarya@infotech.com.tr
Date: Wed 16 Jul 2003 - 10:43:44 EEST

  • Next message: Tanaydın Şirin: "[linux-programlama] Re: [linux] Php'de sayi formati"

    evet aynı sorunla bende karşılaşmıştım ancak bulamadım gerçi bendeki jsp
    idi
    onun yerine

    for ($say = 1; $say <=31; $say++) {
       if($say<10){
           echo("<option value=0$say>0$say</option>");
       }
       else{
           echo("<option value=$say>$say</option>");
       }
    }

    kullandım sanırım sende bunu tarih formatı için istiyorsun

    Melih Sakarya
    Software Engineer

    INFOTECH Information Technologies
    Email: msakarya@infotech.com.tr
    Web: www.infotech.com.tr
    Phone:+90 (212) 259 21 99 (129)
    Fax: +90 (212) 259 30 32
    Address: Ayazma Deresi Cad. Aksit Plaza no:12
                   Fulya Besiktas \ Istanbul

                                                                                                                                      
                        Alper Oguz
                        <alperliste@showtv.com.tr> To: linux-programlama@linux.org.tr
                        Sent by: cc:
                        linux-programlama-bounce@liste.li Subject: [linux-programlama] Php'de sayi formati
                        nux.org.tr
                                                                                                                                      
                                                                                                                                      
                        16.07.2003 10:38
                        Please respond to
                        linux-programlama
                                                                                                                                      
                                                                                                                                      

    Merhaba,

    PHP'de formda list box'larda tarih ve saatleri döngü ile
    olusturuyorum (asagida). Ama tabi 1, 2, 3, 4.. seklinde uretilmis
    oluyor. Bunları 01, 02, 03.. seklinde uretebilir miyiz?

    for ($say = 1; $say <=31; $say++) {
      echo("<option value=$say>$say</option>");
      }

    tesekkurler

    --
     Alper Oğuz    alperliste@showtv.com.tr
    

  • Next message: Tanaydın Şirin: "[linux-programlama] Re: [linux] Php'de sayi formati"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.