How do I insert the following into my custom table?

The reason why it wasn’t working was because of my form action. I moved the code to insert data to the search results page and it added the the data to the table like I needed.

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