execute("UPDATE {question} SET parent = id WHERE qtype = 'random' AND parent <> id"); } ?>