help to show link on time basis...???

Started on the old forum in February 2012 · view the original in the archive · old links redirect here

4 replies · 587 views · started 14 years ago · 1 min read

3 participants
i0nutzxp Developer · 150 posts #2

PHP: date - Manual is more than enough for your problem. 🙂

var_dump(date('G')); returns an int with 0-23 (range) 13 - 23 => meaning 1 - 11 PM

<?php unlink('World/Europe/Romania.country'); ?>
something else Fellow · 2,296 posts #4
if(date('G')>12) echo "link1";
else echo "link2";

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close