-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
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 ?
Metadata
Metadata
Assignees
Labels
No labels