lastInsertID(); } else { return mdb2_single_val($db, "SELECT opm_id FROM opm WHERE llnr = '%q' AND text = '%q'", $llnr, $text); } assert(false); } ?>