Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 29

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 29

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 29

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 29

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 29
papar tarikh dari database??
Results 1 to 5 of 5

Thread: papar tarikh dari database??

  1. #1
    Join Date
    Sep 2007
    Location
    kuching
    Posts
    10
    Rep Power
    0

    papar tarikh dari database??

    hai semua...

    saya nak minta tolong sikit. boleh tak sapa-sapa tolong bagitau macam mana nak papar tarikh dari database yang fomat asalnya yyyy-mm-dd tu ke mm-dd-yyyy dalam table kita?

    plizzz help me k..

  2. #2
    Join Date
    Aug 2001
    Location
    www.ejoe.net
    Posts
    26
    Rep Power
    0
    ader byk cara
    kalau php cam dibawah pon bleh:

    $dateArray2 = explode('-',$amali_tarikh);
    $amali_tarikh2 = "$dateArray2[1]-$dateArray2[2]-$dateArray2[0]";

  3. #3
    Join Date
    Sep 2005
    Location
    in my body lar...
    Posts
    1,325
    Rep Power
    0
    no need so much coding wan... just use the php date function lor...

    date("m/d/Y", $YourDateVar)

  4. #4
    Join Date
    Sep 2007
    Location
    kuching
    Posts
    10
    Rep Power
    0

    Smile

    Quote Originally Posted by ejoe View Post
    ader byk cara
    kalau php cam dibawah pon bleh:
    ooo..oke..thanks ejoe.. saya try cara awak tapi tak paham sikit..tapi saya dah dapat dah...thank u very much kk

  5. #5
    Join Date
    Sep 2007
    Location
    kuching
    Posts
    10
    Rep Power
    0
    thanks iamfreelancer.. tak lah susah sangat buat benda alah ini ek. saya cari merata tempat tapi tak paham-paham gak...last-last dapat gak. thanks to you...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. view pdf dari database ke webpage
    By nur_kasih in forum Website Programming
    Replies: 2
    Last Post: 04-09-2009, 09:54 AM
  2. Nak papar image dari database dalam flash?
    By Linn_jie in forum Website Programming
    Replies: 0
    Last Post: 27-02-2008, 11:33 AM
  3. tarikh dalam php
    By kojie in forum Website Programming
    Replies: 3
    Last Post: 18-05-2006, 02:39 PM
  4. load variable dari database ke dalam flash
    By cryno in forum Website Design
    Replies: 2
    Last Post: 17-09-2002, 10:36 AM
  5. format tarikh, no. k/p dan amaun
    By adique_7 in forum Website Programming
    Replies: 1
    Last Post: 02-05-2002, 02:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38