I have a table estmarh
I need:
Identity_moder=Identity
Identity in ( SELECT * FROM users WHERE = Identity )
I need all the lines in which moder=Identity And it is associated with Identity Show Level 2
I wrote this code but the lines do not appear related
Is it possible to correct code
// UserID Loaded event
function UserID_Loaded() {
//echo "UserID Loaded: " . $this->UserIDList() . "<br>";
global $Page;
if ($Page && $Page->TableName == "estmarh" && CurrentUserLevel() == "2" && ew_AddFilter($filter, " Identity_moder == SELECT * FROM users WHERE = Identity ") ) {
$this->AddUserID(-1);
}}
thank you