Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public class DbAdapter { public static final String KEY_ID = "Id"; public static final String KEY_MODEL = "Model"; public static final String KEY_COMPANY = "Company"; private static final String TAG = "DbAdapter"; private DatabaseHelper mDbHelper; private SQLiteDatabase db; private static final String DATABASE_CREATE = "CREATE TABLE IF NOT EXISTS my_table (Id INTEGER PRIMARY KEY AUTOINCREMENT, Company TEXT, Model TEXT);"; private static final String DATABASE_NAME = "myDB"; private static final String DATABASE_TABLE = "my_table"; private static final int DATABASE_VERSION = 2; private final Context mCtx; private static class DatabaseHelper extends SQLiteOpenHelper { DatabaseHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onCreate(SQLiteDatabase db) { db.execSQL(DATABASE_CREATE); } @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { Log.w(TAG, "Upgrading database from version " + oldVersion + " to " + newVersion + ", which will destroy all old data"); db.execSQL("DROP TABLE IF EXISTS notes"); onCreate(db); } } public DbAdapter(Context ctx) { this.mCtx = ctx; } public DbAdapter open() throws SQLException { mDbHelper = new DatabaseHelper(mCtx); db = mDbHelper.getWritableDatabase(); return this; } public void close() { mDbHelper.close(); } public long createNote(String Model, String Company) { ContentValues initialValues = new ContentValues(); initialValues.put(KEY_MODEL, Model); initialValues.put(KEY_COMPANY, Company); return db.insert(DATABASE_TABLE, null, initialValues); } public boolean deleteNote(long rowId) { return db.delete(DATABASE_TABLE, KEY_ID + "=" + rowId, null) > 0; } public Cursor fetchAllNotes() { return db.query(DATABASE_TABLE, new String[] {KEY_MODEL}, null, null, null, null, null); } ....