Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 31-01-2008, 12:59 PM
Linn_jie's Avatar
Novice Webmaster
 
Join Date: Sep 2007
Location: kuching
Posts: 10
Rep Power: 0
Linn_jie is on a distinguished road
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..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 31-01-2008, 09:44 PM
ejoe's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: www.ejoe.net
Posts: 24
Rep Power: 0
ejoe is on a distinguished road
Send a message via Yahoo to ejoe
ader byk cara
kalau php cam dibawah pon bleh:

Quote:
$dateArray2 = explode('-',$amali_tarikh);
$amali_tarikh2 = "$dateArray2[1]-$dateArray2[2]-$dateArray2[0]";
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 31-01-2008, 11:13 PM
iamfreelancer's Avatar
Vibrate your Brain Please
 
Join Date: Sep 2005
Location: in my body lar...
Posts: 1,211
Rep Power: 62
iamfreelancer will become famous soon enough iamfreelancer will become famous soon enough
no need so much coding wan... just use the php date function lor...

Quote:
date("m/d/Y", $YourDateVar)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 13-02-2008, 10:10 AM
Linn_jie's Avatar
Novice Webmaster
 
Join Date: Sep 2007
Location: kuching
Posts: 10
Rep Power: 0
Linn_jie is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 13-02-2008, 10:13 AM
Linn_jie's Avatar
Novice Webmaster
 
Join Date: Sep 2007
Location: kuching
Posts: 10
Rep Power: 0
Linn_jie is on a distinguished road
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
tarikh dalam php kojie Website Programming 3 18-05-2006 02:39 PM
tak papar fail php dalam IE dan_nial Website Programming 2 17-10-2005 05:13 PM
load variable dari database ke dalam flash cryno Website Design 2 17-09-2002 10:36 AM
format tarikh, no. k/p dan amaun adique_7 Website Programming 1 02-05-2002 02:31 PM



All times are GMT +8. The time now is 01:16 PM. Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58