Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 132,468 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,419 people online right now. Registration is fast and FREE... Join Now!




Date Sensitive

 
Reply to this topicStart new topic

Date Sensitive, Need something that displays newest info

liquidwayweb
post 26 Mar, 2005 - 06:39 AM
Post #1


New D.I.C Head

*
Joined: 23 Feb, 2005
Posts: 10

I'm trying to have a page that displays NEW information based on date. Basically, IF date = daterow THEN echo PIC, CAPTION for said date ELSE echo most recent. I know the above is not real code...but that's my suggestion. If you have any help you can offer THANKS!!!
User is offlineProfile CardPM

Go to the top of the page

RichardSA
post 28 Mar, 2005 - 09:44 AM
Post #2


New D.I.C Head

Group Icon
Joined: 16 Feb, 2005
Posts: 24



Dream Kudos: 25
My Contributions


Like a kind of news script? Look at my code snippet: http://code.dreamincode.net/snippet89.htm

Just store the newest one at the top of the file. if you need an upload script, just PM me or ask here.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 01:49PM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month