escape_string(strip_tags($_POST['search_str']))); // create new sql op object $sql_op = new simbio_dbop($dbs); // check if biblioID POST var exists if (isset($_POST['biblioID']) AND !empty($_POST['biblioID'])) { $data['rel_biblio_id'] = intval($_POST['relBiblioID']); $data['biblio_id'] = intval($_POST['biblioID']); if ($sql_op->insert('biblio_relation', $data)) { echo ''; } else { utility::jsAlert(__('Biblio relation FAILED to Add. Please Contact System Administrator')."\n".$sql_op->error); } } else { if (isset($_POST['relBiblioID']) AND !empty($_POST['relBiblioID'])) { // add to current session $_SESSION['biblioToBiblio'][$_POST['relBiblioID']] = array($_POST['relBiblioID']); echo ''; } } } ?>

:
'; } ?>