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
Im having problem regarding whereClauseArray() function. What I want to do is using where clause to find event_id = $_GET['id]. So I wrote like this : public function whereClauseArray(){ $conditions = array(); $conditions['event_id ='] = $this->input->get('id'); return $conditions; }
But it can't find any data. If I do like this : public function whereClauseArray(){ $conditions = array(); $conditions['event_id ='] = 5; return $conditions; }
The data will come out. Is there any specific method to using value from $_GET ?
The text was updated successfully, but these errors were encountered:
Hi Zepernick,
Im having problem regarding whereClauseArray() function. What I want to do is using where clause to find event_id = $_GET['id]. So I wrote like this :
public function whereClauseArray(){ $conditions = array(); $conditions['event_id ='] = $this->input->get('id'); return $conditions; }
But it can't find any data. If I do like this :
public function whereClauseArray(){ $conditions = array(); $conditions['event_id ='] = 5; return $conditions; }
The data will come out. Is there any specific method to using value from $_GET ?
The text was updated successfully, but these errors were encountered: