Warning: mysql_select_db() expects parameter 2 to be resource, object given in /htdocs/index.php on line 8

Warning: mysql_query() expects parameter 2 to be resource, object given in /htdocs/index.php on line 10