$ dml = "INSERT INTO bookmark (accountId, category, url, hash, title, created)"
. "VALUES (: accountId,: category,: url, MD5 (: url),: title, NOW ())";
$ statement = $ pdo-> prepare ($ dml);
$ parameters = array (
": accountId" => $ _SESSION ["accountId"],
": category" => $ _POST ["category"],
": url" => $ _POST ["url"],
": title" => $ _POST ["title"]);
$ statement-> execute ($ parameters);
source share