Target a page with query

I have checked at the source code and found $_GET as a solution to target them.

$type = isset($_GET["type"]) ? $_GET["type"] : 'story';


if( is_page('post-create-page') && $type=='story' ) { ....} elseif ( is_page('post-create-page') && $type=='openlist' ) {.....}


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