prepare("UPDATE tblLocalIdentity SET SingleUse=?, PublishTrustList=? WHERE LocalIdentityID=?;");
for($i=0; $ibindParam(1,$_REQUEST['singleuse'][$_REQUEST['update'][$i]]);
$st->bindParam(2,$_REQUEST['publishtrustlist'][$_REQUEST['update'][$i]]);
$st->bindParam(3,$_REQUEST['localidentityid'][$_REQUEST['update'][$i]]);
$st->execute();
}
}
}
if($_REQUEST['formaction']=='delete' && isset($_REQUEST['update']))
{
$st=$db->prepare("DELETE FROM tblLocalIdentity WHERE LocalIdentityID=?;");
for($i=0; $ibindParam(1,$_REQUEST['localidentityid'][$_REQUEST['update'][$i]]);
$st->execute();
}
}
}
}
$st=$db->prepare("SELECT LocalIdentityID,Name,PublicKey,PublishTrustList,SingleUse,PublishBoardList FROM tblLocalIdentity ORDER BY Name;");
$st->execute();
?>
Local Identities