Visa ett inlägg
Oläst 2010-10-21, 21:46 #4
PaLL3 PaLL3 är inte uppkopplad
Nykomling
 
Reg.datum: Jan 2008
Inlägg: 25
PaLL3 PaLL3 är inte uppkopplad
Nykomling
 
Reg.datum: Jan 2008
Inlägg: 25
Jag körde denna istället;
Kod:
$result = mysql_query("select itemid from entity_attributes e where(select count(*) from entity_attributes where itemid = e.itemid and attributeid = 280) = 1 and (select count(*) from entity_attributes where itemid = e.itemid and attributeid = 276) = 1");
while($row = mysql_fetch_array($result)) $list .= $row['ItemID'] . ',';
mysql_query("delete from entity_attributes where itemid in ($list)");
Funkade inte heller...
PaLL3 är inte uppkopplad   Svara med citatSvara med citat