Form action redirect to the same page

If you leave the action empty, the form will submit to the same page.

So just do this:
<form action='' method='get'>";

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