![]() |
Sergey Kornilov admin 1/24/2014 |
You are correct saying that building Advanced Security based on two separate fields is not possible.
$_SESSION["OwnerID1"]=$data["OwnerIDField1"];
$query->addWhere("OwnerID1=".$_SESSION["OwnerID1"]." and OwnerID2=".$_SESSION["OwnerID2"]);
|
T
|
TKirchner author 1/28/2014 |
You are correct saying that building Advanced Security based on two separate fields is not possible. As a workaround you can use Dynamic SQL Query approach described in this article: http://xlinesoft.com/phprunner/docs/modify_sql_query_on_the_fly.htm
$_SESSION["OwnerID1"]=$data["OwnerIDField1"];
$query->addWhere("OwnerID1=".$_SESSION["OwnerID1"]." and OwnerID2=".$_SESSION["OwnerID2"]);
|
T
|
TKirchner author 1/28/2014 |
Okay after playing around with this for a while i found myself in the middle of nowhere, i wont get this done by myself. |
![]() |
Sergey Kornilov admin 1/28/2014 |
Tim, |
T
|
TKirchner author 1/29/2014 |
Hey admin, |
T
|
TKirchner author 1/29/2014 |
double post..deleted |
![]() |
Sergey Kornilov admin 1/29/2014 |
Contact support directly, we'll find a way to transfer your project to us. |