heyhey well
i try to make a code which checks if a name is into the database if it is dosnt do anything if the name isnt there add him
but what i try to do it will add and add and add the names into it
Code:
if($title = $DB_site->query_first("SELECT * FROM names WHERE 'group=$group'")) {
$name = $title;
} else {
$DB_site->query("INSERT INTO names VALUES ('$thread['threadid']', '$url', '$site', '$review', '$date', '$name', '$group', '$size', '$section')");
}
thanxs 10x