I have a table in database and I want to create a hash value string that will be based on the entries of that table. Is it possible in php that I can create sha1 value of the whole table and how can I compare the sha1 value that the values are not changed.
Thanks in advance.
Jump to Post
If there aren't any
NULLvalues you could use
CONCAT(). For example you have a table like this:…
create table posts( id auto_increment primary key not null, title varchar(255) not null, body text not null, created_at datetime not null, updated_at datetime not null ) engine = myisam default charset=utf8;
All 3 Replies
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.