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

---------

From: Tanaydın Şirin (tanaydin@tarkanonline.net)
Date: Wed 16 Jul 2003 - 10:47:25 EEST

  • Next message: Enver ALTIN: "[linux-programlama] Re: Php'de sayi formati"

    if ($say < 10) {
        $say = "0" . $say;
    }
    ----- Original Message -----
    From: "Alper Oguz" <alperliste@showtv.com.tr>
    To: <linux-programlama@linux.org.tr>
    Sent: Wednesday, July 16, 2003 10:38 AM
    Subject: [linux] [linux-programlama] Php'de sayi formati

    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: Enver ALTIN: "[linux-programlama] Re: Php'de sayi formati"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.