Monday, 2024-04-29, 1:40 PM
YogaPratama
Main | | Registration | Login
Site menu
Section categories
news and info [4]
hacking and cracking [16]
photoshop tutorial [4]
facebook [6]
free domain [2]
free software [11]
others [8]
php [1]
ucoz corner [1]
pendidikan [1]
movie info and download [1]
games download [6]
Entries archive
Tag Board
200
Statistics

Total online: 1
Guests: 1
Users: 0
Login form
Main » php
hwahahaha..... judulnya panjang banget gyah!! padahal tutornya cuman sedikit doang. seperti biasa lah, klo tutor lainnya design. aku gag pinter buat nyusun kata-kata. langsung ajah. ni codenya :

[Select]>>>>$_hour=date("G"); //Returns the string value of the hour in 24 hour format

//Below will check if its less than 5AM or greater than 6PM (18)
if (intval($_hour)<5 && intval($_hour)>18) {
?>
Your HTML code here
}
else {
  echo("Please return again between 5AM and 6PM");
 //Displays this message if it isn't between 5AM and 6PM
}
?>
<<<<
Category: php | Views: 881 | Date: 2009-05-22 | Rating: 0.0/0 | Comments (0)

Search
Clock
site friends
Calendar
«  April 2024  »
SuMoTuWeThFrSa
 123456
78910111213
14151617181920
21222324252627
282930
Translator
Traffic Blog
Powered by uCoz
Copyright Yoga Pratama © 2024