Jump to content


Photo

Is this possible?


  • Please log in to reply
3 replies to this topic

#1 marcus

marcus
  • Members
  • PipPipPip
  • Advanced Member
  • 1,842 posts
  • LocationRochester, NY

Posted 15 October 2006 - 09:15 PM

Ok, I was going to make a system where it would update the page every 45 mins (via cron) and like, a system where when the user clicks the image and enters the correct info needed it would send it to the database and mark it off as already clicked, but then like the next time the cron goes off it lists more images (different ones)

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 15 October 2006 - 11:52 PM

Yes, it's possible.  What happens when more than one visitor is 'answering' questions, or doesn't that matter - any 'right' answer and the image gets marked as 'answered.
Legend has it that reading the manual never killed anyone.
My site

#3 marcus

marcus
  • Members
  • PipPipPip
  • Advanced Member
  • 1,842 posts
  • LocationRochester, NY

Posted 16 October 2006 - 12:02 AM

but like, so when they answer it, it kind of deletes that row from the database but keeps it on the page with who answered it

#4 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 16 October 2006 - 12:20 AM

but like, so when they answer it, it kind of deletes that row from the database but keeps it on the page with who answered it


No. If it were deleted from the database, how would 'the page' know it had been answered and by whom.

I'd suggest you plan out the whole thing, then start the database and scripting, then ask specifics.
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users