#1 (permalink)  
Old 08-24-2005, 03:16 AM
Registered User
 
Join Date: Sep 2004
Posts: 35
bdewijs is on a distinguished road
Default Latest update

Hi,

I've been trying to display a "latest update" date in the header of the page. This way the visitors can see when the latest link was added.

The query should be something like this I think: select max(date) from idx_link. In PHP MyAdmin I get the latest date and time as a result.
I want the date to be displayed as dd-mm-yyyy (so without the time)

Since my knowledge about php is about zero I've copy and pasted some parts I thought that would do the trick. I was told this is the best way of learning things .

But I can't get it to work and I don't have a clue what is wrong. This is what I have nowadded to the index.php:

Code:
Content visible to License Owner only.
In the header I've added <%$latest_update%>

There is obviously something wrong with this. Is there someone who can point me to the right direction?

Bart
  #2 (permalink)  
Old 09-25-2005, 09:09 AM
Registered User
 
Join Date: Sep 2004
Posts: 35
bdewijs is on a distinguished road
Default

Anyone?? maybe just another solution to put a "latest update" in the page?
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update number of link stops with timeout... Frank71 v5.x 9 04-15-2007 09:35 PM
Latest Results 3 Horiztontal brickholius v3.2 4 04-05-2005 01:54 PM
Latest New Additions and Updates lexpression v5.x 2 02-09-2005 08:39 AM
Update intervall search log ? Frank71 v5.x 1 03-11-2004 05:45 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 01:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate