{"action":"created","issue":{"url":"https://api.github.com/repos/rorystandley/MySQLi-CRUD-PHP-OOP/issues/4","labels_url":"https://api.github.com/repos/rorystandley/MySQLi-CRUD-PHP-OOP/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rorystandley/MySQLi-CRUD-PHP-OOP/issues/4/comments","events_url":"https://api.github.com/repos/rorystandley/MySQLi-CRUD-PHP-OOP/issues/4/events","html_url":"https://github.com/rorystandley/MySQLi-CRUD-PHP-OOP/issues/4","id":94783107,"number":4,"title":"Not returning true on Insert function","user":{"login":"jbonnett92","id":3740700,"avatar_url":"https://avatars.githubusercontent.com/u/3740700?v=3","gravatar_id":"","url":"https://api.github.com/users/jbonnett92","html_url":"https://github.com/jbonnett92","followers_url":"https://api.github.com/users/jbonnett92/followers","following_url":"https://api.github.com/users/jbonnett92/following{/other_user}","gists_url":"https://api.github.com/users/jbonnett92/gists{/gist_id}","starred_url":"https://api.github.com/users/jbonnett92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbonnett92/subscriptions","organizations_url":"https://api.github.com/users/jbonnett92/orgs","repos_url":"https://api.github.com/users/jbonnett92/repos","events_url":"https://api.github.com/users/jbonnett92/events{/privacy}","received_events_url":"https://api.github.com/users/jbonnett92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rorystandley","id":1387642,"avatar_url":"https://avatars.githubusercontent.com/u/1387642?v=3","gravatar_id":"","url":"https://api.github.com/users/rorystandley","html_url":"https://github.com/rorystandley","followers_url":"https://api.github.com/users/rorystandley/followers","following_url":"https://api.github.com/users/rorystandley/following{/other_user}","gists_url":"https://api.github.com/users/rorystandley/gists{/gist_id}","starred_url":"https://api.github.com/users/rorystandley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorystandley/subscriptions","organizations_url":"https://api.github.com/users/rorystandley/orgs","repos_url":"https://api.github.com/users/rorystandley/repos","events_url":"https://api.github.com/users/rorystandley/events{/privacy}","received_events_url":"https://api.github.com/users/rorystandley/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-07-13T18:36:07Z","updated_at":"2015-07-13T21:16:53Z","closed_at":null,"body":"Hi,\r\nThe code in the insert function isn't returning true when a successful insert has been made...\r\nCode:\r\n```\r\nreturn $db->insert(\"users\", array(\"Username\" => $username, \"Firstname\" => $firstname, \"Secondname\" => $secondname, \"Password\" => $password, \"Level\" => 3, \"Timestamp\" => time()));\r\n```"},"comment":{"url":"https://api.github.com/repos/rorystandley/MySQLi-CRUD-PHP-OOP/issues/comments/121062456","html_url":"https://github.com/rorystandley/MySQLi-CRUD-PHP-OOP/issues/4#issuecomment-121062456","issue_url":"https://api.github.com/repos/rorystandley/MySQLi-CRUD-PHP-OOP/issues/4","id":121062456,"user":{"login":"jbonnett92","id":3740700,"avatar_url":"https://avatars.githubusercontent.com/u/3740700?v=3","gravatar_id":"","url":"https://api.github.com/users/jbonnett92","html_url":"https://github.com/jbonnett92","followers_url":"https://api.github.com/users/jbonnett92/followers","following_url":"https://api.github.com/users/jbonnett92/following{/other_user}","gists_url":"https://api.github.com/users/jbonnett92/gists{/gist_id}","starred_url":"https://api.github.com/users/jbonnett92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbonnett92/subscriptions","organizations_url":"https://api.github.com/users/jbonnett92/orgs","repos_url":"https://api.github.com/users/jbonnett92/repos","events_url":"https://api.github.com/users/jbonnett92/events{/privacy}","received_events_url":"https://api.github.com/users/jbonnett92/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T21:16:53Z","updated_at":"2015-07-13T21:16:53Z","body":"Yes, and the function is working because it being called from that if statement... I can tell it's working as the entry is added to the database."}}