CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 3993|Reply: 4

pasl php.... untuk buat calender/masukkan calender dalam php n simpan dalam data

[Copy link]
Post time 14-1-2012 11:21 PM | Show all posts |Read mode
Assalam kwn2 dlm forum nie.. Nk minta tlg sikit.. Pasal masukkan calender dalam php. Ada xsapa2 blh bantu. pilih tarikh n simpan dalam database. minta tlg yer kalo ada sape2 yg tau...
Reply

Use magic Report


ADVERTISEMENT


Post time 15-1-2012 08:45 AM | Show all posts
pilih tarikh guna jquery, masuk db macam biasa, field type letakkan as date.

Rate

1

View Rating Log

Reply

Use magic Report

 Author| Post time 15-1-2012 07:16 PM | Show all posts
Reply 2# kmkd

ermm.. yg tu aq xtau nk masuk mcm mana.. blh x tunjuk caranya..
Reply

Use magic Report

Post time 15-1-2012 08:29 PM | Show all posts
Post Last Edit by kmkd at 15-1-2012 20:31

masuk yang apa tak tahu? jquery?
ada baaaanyak plugin time/date picker yang guna jquery UI.
aku guna yang ni: http://fgelinas.com/code/timepicker/

contoh code aku
  1. <script type="text/javascript" src="{{SCRIPT-URI}}jquery.ui.timepicker-0.0.7.js"></script>
  2. Tarikh: <input id="tarikh" name="tarikh"/>
  3. $( "#tarikh" ).datepicker({ dateFormat: 'dd/mm/yy' }); // ni untuk nyatakan jenis format yang kau nak simpan
Copy the Code


ps. aku guna versi tak update mungkin API dia dah lain untuk versi 0.2.x ni. tengok je dalam site dia untuk API latest.
ps2. aku rasa ni kene masuk dalam bod programming. bukan web design dah ni

Rate

1

View Rating Log

Reply

Use magic Report

 Author| Post time 16-1-2012 02:07 AM | Show all posts
Reply 4# kmkd


   owhh. ok bro.. thnks... dh settle pun masalah nie..
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

23-12-2024 04:14 PM GMT+8 , Processed in 2.181744 second(s), 23 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list