Skip to content

Instantly share code, notes, and snippets.

Created October 27, 2012 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3964576 to your computer and use it in GitHub Desktop.
Save anonymous/3964576 to your computer and use it in GitHub Desktop.
public function give_sessions($input) {
echo "alive 0";
exit;
$select = $this->select();
echo "alive 1";
exit;
$select->where('username = ?', $input);
echo "alive 2";
exit;
$result = $this->fetchRow($select);
echo "alive 3";
exit;
return $result->toArray();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment