thanks...
I have added the session
<?php
if (!session_id()) session_start();
if(!isset($_SESSION["WinningCode"])) {
$_SESSION["WinningCode"] = "".$row_CompRS['compcode'] ."";
}
?>
<?php
if (!session_id()) session_start();
if(!isset($_SESSION["EnteredCode"])) {
$_SESSION["EnteredCode"] = "".((isset($_POST["code"]))?$_POST["code"]:"") ."";
}
?>
Not sure if I have done it right?
The recordset is attached... am not sure if that is right either.
What do I do with the form and submit now? How do I get from the code entrry to the reult page?
On the results page I have added a rule which doesnt seem to be working - see attached
Jamie
Do I still need to authenticate a user?