I need a form to send the first 15 submitters to one page, and everyone after to another... does anyone have any advice on the best way to accomplish this?
Thx,
Paul
Thx,
Paul
I've thought more on this, and I think if I can access the db table from the Submitted page, read the value of the cf_id from the table, and display message #1 or Message #2, that would work.
Can someone help with this part? Is this a proper way to do this?
<?php
//connect to 'globalchronoforms_gp_standard'
some code
//determine highest current cf_id
some code
//if cf_id < 15, display this
echo "You're in the contest!";
//else, display this
echo "You're on the waitlist";
?>
Can someone help with this part? Is this a proper way to do this?
<?php
//connect to 'globalchronoforms_gp_standard'
some code
//determine highest current cf_id
some code
//if cf_id < 15, display this
echo "You're in the contest!";
//else, display this
echo "You're on the waitlist";
?>
Hi prsweb,
That's pretty much what I would do. I'd probably be a little more sophisticated with the table, add a status column for 'in' and 'wait' and count the 'in' values. Using the cf_id can be less reliable - especially if you are like me and leave test data lying around.
Bob
That's pretty much what I would do. I'd probably be a little more sophisticated with the table, add a status column for 'in' and 'wait' and count the 'in' values. Using the cf_id can be less reliable - especially if you are like me and leave test data lying around.
Bob
This topic is locked and no more replies can be posted.