Recently Posted

advertisement



Ok, buka HTML editor anda, dan type code berikut:

echo "Hello World";
  • Function print () akan menghantar data ke server.
  • String mesti dikelilingi oleh “” ataupun ”.
  • Tanda semicolon ; mengakhiri penyataan PHP.

Save file tersebut sebagai “test.php” (semua file PHP mesti disave dengan format ***.php) dan cuba view file tersebut.

Sila download contoh berikut. Klik di sini.

Popularity: 3% [?]



  • hasrul Says:
    August 4th, 2006 at 6:13 pm

    best ni cikgu

  • BAGAK Says:
    August 22nd, 2006 at 1:29 pm

    mdpai tanya sikit

    saya nak kod ini tak dibaca dalam main index templete

    Random Photos

    /randomimages/rotate.php” alt=”" width=”48%” />
    /randomimages/random.php” alt=”" width=”48%” />

    tapi saya tak nak buang selamanya
    apa perlu saya buat?

    tq

  • mdpai Says:
    August 22nd, 2006 at 5:55 pm

    kalau kod tersebut dalam PHP boleh pakai:
    /*
    /randomimages/rotate.php” alt=”” width=”48%” />
    /randomimages/random.php” alt=”” width=”48%” />
    */
    atau
    //randomimages/rotate.php” alt=”” width=”48%” />
    //randomimages/random.php” alt=”” width=”48%” />

    Kalau dalam HTML


    This blog uses the CommentLuv plugin which will try and parse your sites feed and display a link to your last post, please be patient while it tries to find it for you.