Add a searchbox to the body of a page

It’s just a form that takes a GET parameter named s.

Example:

<form method="get" action="/">
<input type="text" name="s" placeholder="type here to search">
</form>

But I recommend using the function called get_search_form() that does basically the same thing.

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