weiter'); } else{ db_query('INSERT sp_ware SET item=11, user='.$user['id']); // 1 db_query('INSERT sp_ware SET item=11, user='.$user['id']); // 2 db_query('INSERT sp_ware SET item=11, user='.$user['id']); // 3 db_query('INSERT sp_ware SET item=11, user='.$user['id']); // 4 db_query('INSERT sp_ware SET item=11, user='.$user['id']); // 5 db_query('INSERT sp_ware SET item=11, user='.$user['id']); // 6 db_query('INSERT sp_ware SET item=11, user='.$user['id']); // 7 } semaphoreDown($ressource); return; } function displayWuensche($user){ $items = db_query('SELECT distinct(i1.id) FROM sp_ware i INNER JOIN sp_item i1 ON(i.item=i1.id) WHERE i.user='.$user['id']); ?>