Versuch mal:
PHP-Code:
$login_check = db_query("SELECT `uid`,`passwort`,`status`,`hinweis` FROM ".$db_prefix."_kontodaten WHERE uid=".$_COOKIE['uid']." and passwort='".$_COOKIE['passwort']."' LIMIT 1");
echo mysql_error();
if (mysql_num_rows($login_check)) {
$login_check = mysql_fetch_array($login_check);