neozaz Posted June 1, 2008 Share Posted June 1, 2008 I’m having trouble finding an answer to a function I want to include on a testing survey. Mainly because I’m not sure how to ask/describe what I want in a simple search manner. Here’s what I’m trying to do: A customer has a multiple choice test for applicants to take on-line. When the test is completed, he wants the applicant information to be sent to him and to a recruiter. He has multiple recruiters so he’d like to rotate the recruiter’s email addresses the information is sent to. Such as: First applicant is send to recruiter 1 Second applicant is sent to recruiter 2 Third applicant is sent to recruiter 3 Fourth applicant is sent to recruiter 1 Fifth applicant is sent to recruiter 2 And so on. I know in networking terms this is kind of like “round robin” but I’m not sure if anything like that exist in php. Any advice would be greatly appreciated. Thanks for your time. Quote Link to comment Share on other sites More sharing options...
papaface Posted June 1, 2008 Share Posted June 1, 2008 You'd need either a flat file database or a SQL database to store who the last email was sent to. Pretty simple, look into writing and reading a txt file, and then depending on the content do something. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.