Warning: mysql_error() expects parameter 1 to be resource, null given in Z:\home\site.ru\www\index.php on line 173
$CONNECT = mysql_connect(HOST, USER, PASS, DB)or die("Ошибка подключения");
$strSQL = "INSERT INTO `users`(`login`, `password`) VALUES ('$login', '$pass')";
$row = mysql_query($strSQL);
echo mysql_error($row);