faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 12 people (33%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How do i save php output sequentially by date so that i may move forwards and backwards in order by date of creation "next/previous etc"

Mar 1st, 2009 08:49
Sarah Turner, healthy man, dman, Martijn Spruit, Norton Seron, http://www.ttnr.org


I am using a MySQL database: in every table I've made a field 
named 'timestamp' (INT, 12, NOT NULL) in wich I insert the Unix-
timestamp (eq. $today=time() ; ) every time the table is updated. 
When retrieving data you can simply use ORDER BY table.timestamp to get 
the data in the right sequence.
(I can't show you examples 'cause it was made for commercial use in an 
intranet-application, sorry.)
http://www.healthdothealth.com
http://www.healthxhealth.com
http://www.mesotheliomainmesothelioma.com
http://www.healthfirewall.com
http://www.flathealth.com
http://www.healthbodyguard.com
http://voyagevacances.blogtact.com/
http://rejseferie.blogtact.com/
http://flyvningertilschweiz.blogtact.com/
http://volssuisse.blogtact.com/
http://volsromeitalie.blogtact.com/
http://viajesvacaciones.blogtact.com/
http://reisenchina.blogtact.com/
http://flugeschweiz.blogtact.com/
http://resasemester.blogtact.com/
http://viaggivacanze.blogtact.com/
http://reisenurlaub.blogtact.com/
http://reizenvakanties.blogtact.com/
http://volisvizzera.blogtact.com/
http://gartenpflege.blogtact.com/
http://geschenkideeen.blogtact.com/
http://vluchtenromeitalie.blogtact.com/