Hi . I need help

Warning: mysql_query() expects parameter 2 to be resource, null given in Z:\home\localhost\www\sayt\index.php on line 3

Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in Z:\home\localhost\www\sayt\index.php on line 4

<?php
include ("blocks/bd.php");
$result = mysql_query("SELECT title,meta_d,meta_k,text FROM settings WHERE page='index'",$db);
$myrow = mysql_fetch_array($result);
?>

what is wrong ?