KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a simple CodeIgniter Active record query to select an ID: $q = $this->db ->select('id') ->where('email', $email) ->limit(1) ->get('users'); How can I assign the above ID to a variable (eg. $id)? For example, echo "ID is" . $id;
Tags (comma-separated)
Save Edits
Cancel