string db = "user91.db";
if (!sqlite_table_exists (db, "user5556")){
sqlite_exec (db, "CREATE TABLE user5556 (number int,password varchar(255))");
sqlite_exec (db, "INSERT INTO user5556 (number,password) VALUES (1,'123')");
}
else{
sqlite_exec (db,"DELETE FROM user5556");
}
The table will be created when first executed. But the second time executed, unable to delete the data from table as you can see in the else statement.
}
The table will be created when first executed. But the second time executed, unable to delete the data from table as you can see in the else statement.