Quote:
Originally posted by Matt 26z
I'm sure you are looking for the finished script, but even a beginner at PHP could do it.
This would be a very simple script with many different ways to do it.
You could store them in the DB like so:
Date URL1 URL2 URL3.....
Date URL1 URL2 URL3.....
Then with PHP or whatever just pull up the row you want by the date that matches today's date.
The submission area would be nothing more than a password protected form page.
|
not a good way of using databases
if I understand your DB modeling you'll have to create a new column for every new galleries... what about days that has less galleries then the biggest submission day? empty column?
it should be
Table: galleries
Url Date Desc NbPics etc
the point is 1 gallery per line
then you could use a SELECT * from galleries where date=<date you want>;
or just SELECT ... LIMIT 40 to get 40 galleries. of course you would have to delete...
why the hell I'm I posting this?
