Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

echo some html on specific time range?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

echo some html on specific time range?

Postby Stole » Sat Nov 02, 2002 1:03 pm


I'm a real beginner and I need some help with date and time, hope u can help me.

I need to echo some html in specific time range, e.g. I need to echo some html ONLY on every saturday from 2 PM - 4 PM (time have to be GMT).

Can u help me ? Thanx.
New php-forum User
New php-forum User
Posts: 3
Joined: Sat Nov 02, 2002 12:58 pm

Postby Jay » Sat Nov 02, 2002 1:18 pm

Well, you could use the date() function to determine what the day and time is, and generate your script based on that!

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.