аналог INSERT INTO
$result = $db->prepare(\'INSERT
INTO `users` (`id`, `login`,
`pass`) VALUES (?,?,?)\');
$result->execute(array(0,
$login, $pass));
аналог mysql_num_rows().
$query = $dbh->query(\"SELECT *
FROM `users` WHERE id = $x\"->rowCount();
аналог mysql_fetch_array().
$query = $dbh->query(\"SELECT *
FROM `users` WHERE id = $x\" ->fetch();