Undefined Array Key Php Sqlite3 Example