Page 1 of 1

articles now powered by mysql

Posted: Sun Nov 09, 2003 8:18 pm
by Red Squirrel
To display the articles it used to be a file per category that stored the hits, the title, the subtitle, the description and the link to the forum. I just changed it so it's all neatly organized in a mysql database that way I don't have to worry about overwritting the hits with an older file.

Something I regret not doing from the start is including the date of publication of articles as to keep them in order it now uses a unix time stamp, but I still can take advantage of that to display the date since most of the dates will be completly wrong. :lol:

But anyway I reprogrammed the articles.php to use mysql so it should be better now. If anyone spots any problems in any articles please let me know!

Archived topic from Iceteks, old topic ID:1584, old post ID:13274