Form and database, plugin development

Post the form instead back to the same admin page you are coming from instead (basically using form action=''), then detect the form posting on that page (eg. if (isset($_POST['createdir'])), and then include the file that will actually process the request (eg. include(EASYDM_PLUGIN_URL.'generate-dir.php');)

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