How can we display a different record each day based on date?
Here's our situation:
We have just begun working with a new online training company and have proposed the we include on our home page a link to a "Question of the Day" We set it up so the link opens a small pop-up window that will show a question of the day, the multiple choice selections, and a "click here" for answer link. This link will then go to the sponsors web site to display the answer. It's a pretty interesting advertising format and will provide valuable education to our readers.
The sponsor uses CFM to create their site and scripting requirements for their QoD set up. They sent us the database which contains three fields:
Date|QoD w/Choices|Answer Record Number
Here's an example:
07-Jun-00|"<b>To care for a patient with a suspected pelvic fracture, you should</b>
A. apply the PASG, start two IVs, and monitor for signs of shock
B. immobilize the patient to a spine board and transport immediately
C. align the lower limbs, apply splints, and administer analgesics
D. do not immobilize; monitor distal pulse and sensation and transport immediately
"|386
Please take a look at a sample page we created statically with just one of the questions:
http://www.merginet.com/index-lx.htm
Click the link for QoD near the top left of our logo. Do a view source and you will see the link to their site for the answer is: http://www.learnx.com/ems/answer.cfm?DQ_id=372. That will show you where the record number needs to be inserted.
I think it's pretty easy to set this up using DBMan but how can we get this to use the date field to post the question of the day with each day's question being different?
I look forward to any ideas.
Richard Bilger, Publisher
MERGInet Medical Resources
http://www.MERGInet.com
Here's our situation:
We have just begun working with a new online training company and have proposed the we include on our home page a link to a "Question of the Day" We set it up so the link opens a small pop-up window that will show a question of the day, the multiple choice selections, and a "click here" for answer link. This link will then go to the sponsors web site to display the answer. It's a pretty interesting advertising format and will provide valuable education to our readers.
The sponsor uses CFM to create their site and scripting requirements for their QoD set up. They sent us the database which contains three fields:
Date|QoD w/Choices|Answer Record Number
Here's an example:
07-Jun-00|"<b>To care for a patient with a suspected pelvic fracture, you should</b>
A. apply the PASG, start two IVs, and monitor for signs of shock
B. immobilize the patient to a spine board and transport immediately
C. align the lower limbs, apply splints, and administer analgesics
D. do not immobilize; monitor distal pulse and sensation and transport immediately
"|386
Please take a look at a sample page we created statically with just one of the questions:
http://www.merginet.com/index-lx.htm
Click the link for QoD near the top left of our logo. Do a view source and you will see the link to their site for the answer is: http://www.learnx.com/ems/answer.cfm?DQ_id=372. That will show you where the record number needs to be inserted.
I think it's pretty easy to set this up using DBMan but how can we get this to use the date field to post the question of the day with each day's question being different?
I look forward to any ideas.
Richard Bilger, Publisher
MERGInet Medical Resources
http://www.MERGInet.com