Current location: Hot Scripts Forums » General Community » Script Requests » PHP code to display HTML between 2-dates


PHP code to display HTML between 2-dates

Reply
  #1 (permalink)  
Old 11-17-11, 03:37 PM
zforray zforray is offline
New Member
 
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
PHP code to display HTML between 2-dates

I maintain a website that was written by a PHP wiz-kid and then he went off to college and I get to maintain his stuff. I am a relative n00b when it comes to PHP - just haven't had the time to really learn it.

I am looking for what I think should be fairly simply PHP code so that a group of HTML code (table rows, for example) is only "shown" between 2-dates and/or doesn't get shown/generated after a certain date, for example, after a certain event has happened/expired, automagically stop showing that portion of a page.

The whole site generates each page via PHP so I can easily embed PHP code/tags within a page in any location I choose.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP or PHP which is better? nepala The Lounge 9 07-14-10 05:48 AM
PHP code to display next and previous page links mkarthikeyan PHP 4 01-26-09 06:11 AM
PHP and HTML code snippets jac2703 General Advertisements 3 09-01-07 08:49 AM
Inserting php code into html JimmyRP HTML/XHTML/XML 4 08-22-07 02:13 PM


All times are GMT -5. The time now is 10:14 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.