can’t grab PHP $_POST variable

I replaced

$house = $_POST['house'];

with

$house = isset( $_GET['house'] ) ? $_GET['house'] : false;

and it’s working now.

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