in any database, if primary key is once deleted, it can never be used again. To reset the primary key, you have to TRUNCATE your table which will result in loss of all the data. So i will not suggest you to reset the table
usually you do not delete data from a table,
usually the data is marked deleted, in a table column(type =date or timestamp) for that purpose, and the "deleted" item is excluded from other reports
this is to ensure trace-ability,
deleted items can screw up later work
Hi, I am a newbie in developing a website. i have tried to connect using mysqli conncetion
Here is my simple code.
// db.php code
//$con = mysqli_connect("localhost","root","","bakery"); ...
If you're in one of those predicaments where cls.__private attributes just aren't enough since they can easily be accessed through inst._cls__private, and you need something a little more secure, here's ...