Welcome Guest, Not a member yet? Register   Sign In
Checking if delete operation was successful
#4

Code:
$sqlite = new SQLite3('database.sqlite');
$statement = $sqlite->prepare('DELETE FROM mytable WHERE myclause');
$statement->execute();
echo $sqlite->changes();

Count The Number Of Rows Modified
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Checking if delete operation was successful - by InsiteFX - 01-16-2023, 12:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB