escape ($bmlist),
$mysql->escape ($username));
if ($mysql->query ($query)) {
echo "Bookmarks successfully deleted
\n";
echo '';
}
else {
message ($mysql->error);
}
}
else {
$bmlistq = implode (",", $bmlist);
$query = sprintf ("SELECT title, id, favicon FROM bookmark WHERE id IN (%s) AND user='%s' ORDER BY title",
$mysql->escape ($bmlistq),
$mysql->escape ($username));
if ($mysql->query ($query)) {
require_once (ABSOLUTE_PATH . "bookmarks.php");
$query_string = "?bmlist=" . implode ("_", $bmlist) . "&noconfirm=1";
?>