try this:

// User Session
$login = 'liam';
$pass = 'password';
$sth = $conn-&gt;prepare("SELECT * FROM users WHERE username = :username AND password = :password");
$sth-&gt;execute(array(":username" =&gt; $login,":password" =&gt; $pass));

if ($sth-&gt;rowCount() &gt; 0)
{
// session stuff,
// refresh page
  echo $sth-&gt;rowCount();
} 


make sure you have username "liam" and pass "password" in the database

Login users/start session with PDO
I'm totally new in developing responsive Wordpress Theme sector. But fortunately, I've heard of Frameworks like: Underscore, child-themes, Genesis !!

What speciality each Framework has? I'm much confused about that, are these frameworks suitable for designing latest WP versions or just legacy Wordpress versions? like WP 3.0 or WP 3.3, so need some experts opinions here.

I'm actually confused about developing a responsive Wordpress Theme in a short period of time &amp; also compounding that I don't have knowledge of which Wordpress Theme Development Framework goes for which Wordpress versions? so everyone, plz bear with my question &amp; answer me positively... ;-)
