0) { while (list($key, $value) = each($HTTP_POST_VARS)) { if (($magic_quotes_gpc_off) && (! $slashesadded)){ $value = addslashes($value); } ${$key} = $value; } } $slashesadded = true; // authenticate user.... $db_CMS->db_process_query("select", $athTbl, "*", "none", "athUserName = '$usernm' and athPassword = '$passwd' and athLevel = 'organizer'", "none"); if ($db_CMS->dbNumRow == 0) { // error something wrong..... reset the whole page... echo "something wrong"; } else { ?> db_process_query("select",$rgsTbl,"*","none","none","none"); $sRsltSet_rgs = $db_CMS->dbRsltSet; //Global variables $participantName = ""; $athUserName = ""; $pymID = ""; $totalDR;//Total Debit to show $totalCR;//Total Credit to show $endBalance; $endBalanceDate; $userAuthorityLevel; $isCodenseView; $noOfInvLinesReturned; $invLinesToDisplay; //The starting point of execution on this page: locateParticipant(); // php code ends here.............................................. ?>