"
;
}
elseif (isset($_GET) && $_GET['link'] && $_GET['username'] && $_GET['title']) {
$l = mysql_connect('sandbox.colo.sourcelabs.com','root','12345') or die('kann nicht konnektieren zu die server');
mysql_select_db('bookmarks') or die('monsters have eaten the database');
mysql_query("SET NAMES 'UTF8'") or die('couldnt set utf8 connection '.mysql_error());
//make link ok
$link = mysql_real_escape_string($_GET['link']);
$encodelink = md5($link);
$username = mysql_real_escape_string($_GET['username']);
$title = $_GET['title'];
//see who has bookmarked the link
$sql = <<