Jump to content

cade

Members
  • Content Count

    845
  • Joined

  • Last visited

Community Reputation

0 Normal

About cade

  • Rank
    Ahli Rajin
  • Birthday 11/29/1985
  1. aku ada satu script nak display date and time, aku nak papar kan dia sebiji macam putera.com buat contoh: kalo user post a msg pada hari ini, date and time will display "today"...and also kalo user tu baru 2 jam lepas post entry, php akan display "2 hours ago"... mcm mana nak bina dlm php? if (date()==$row['masa']) echo "today"; setakat ni jer aku dpt pikir kan dulu...sbb utk yg lain tu aku dah hadap berpuluh puluh kali kegagalan.... tq
×
×
  • Create New...