You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how can I call the values from the table that joined, it joined to the same id of the table,
-------------Model-----------------
public function joinArray() {
return array(
'user|left' => 'user.user_id = notif.notif_sender_user_id',
'user|left' => 'user.user_id = notif.notif_receiver_user_id'
);
}
--------- JS View -------------
{ "data": " // the first value"},
{ "data": " // the second value"},
The text was updated successfully, but these errors were encountered:
how can I call the values from the table that joined, it joined to the same id of the table,
-------------Model-----------------
public function joinArray() {
return array(
'user|left' => 'user.user_id = notif.notif_sender_user_id',
'user|left' => 'user.user_id = notif.notif_receiver_user_id'
);
}
--------- JS View -------------
{ "data": " // the first value"},
{ "data": " // the second value"},
The text was updated successfully, but these errors were encountered: