Hello all,
I have some problem with my DataG_bind, i would be very thankfull if you try to figure out my problems :D
protected function dtgTales_Bind() {
$this->dtgTales->TotalItemCount = Tales::CountAll();
$objClauses = array();
$objMembre=unserialize($_SESSION['Member'])
$objConditions = QQ::AndCondition(
QQ::Equal(QQN::Tales()->Visible, 0),
QQ::AndCondition(
QQ::NotEqual(SuppressTales()->TalesId, QQN::Tales()->Id)
QQ::NotEqual(SuppressTales()->MemberId,$objMember->Id);
$this->dtgConte->DataSource = Tales::QueryArray($objConditions,$objClauses);
}
For more details here my table
Member
id PK
name
Tales
id PK
name
member_id FK
SuppressTales
id PK
member_id FK
tales_id FK
I would like to have on my dtgTales only the tales not suppress by the member logged
I tried many things but I dont find the solution, thx for help and apologize for my mistakes