How to add Edit | Delete button on rows?

Based on your code, you don’t have a column called ‘name’. Method column_name will display column content for the column ‘name’. So, for instance, you have the column called ‘madonhang’. Method for that column will be called ‘column_madonhang’. Each column has own method with the similar name.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)