![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This is very!!! Very hard!! I think it is hard to understand because 1: my English is very bad. And 2: what I want is very complicated Ok, I want to make a ?screenshot of the week? on my website. Allowing people to upload there screen shot, and then store the path and upload date in my phpmysql table (that is easy) Now let?s say there are 10 peoples will upload a picture this week, then I want next week to take a random picture, out of all 10 pictures that where uploaded the week before. And show that one on the whole week long. Next week again there will be taken a random picture from all pictures uploaded the week before. But, when there are no pictures uploaded that week before.. I want to show just a random picture from all pictures ever uploaded. What I can do: create a forum that will upload a picture, and store it in a folder ( and the date and path in my database) But I just can?t make a script that will cycle a screen shot every week, as I explained above. If there is someone who can help me some way, that would be awesome! |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
heej, thanks a lot, now how can i make it select all images that where post last week? (date is stored as: 0000-00-00 00:00:00 witch is: year:month: day houre:minute:sec) |
#5
| |||
| |||
|
|
heej, thanks a lot, now how can i make it select all images that where post last week? (date is stored as: 0000-00-00 00:00:00 witch is: year:month: day houre:minute:sec) |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |