Hmm, try the following...
First create the following table in the same database as the PhpDig tables:
Code:
CREATE TABLE blanks3 (
blank TEXT DEFAULT '' NOT NULL
);
Then in search_function.php find:
Code:
$query = "SELECT sites.site_url, sites.port, spider.path,spider.file,spider.first_words,sites.site_id,spider.spider_id,spider.last_modified,spider.md5 "
."FROM ".PHPDIG_DB_PREFIX."spider AS spider, ".PHPDIG_DB_PREFIX."sites AS sites "
."WHERE spider.spider_id=$spider_id AND sites.site_id = spider.site_id";
$result = mysql_query($query,$id_connect);
$content = mysql_fetch_array($result,MYSQL_ASSOC);
And afterwards add the following:
Code:
$blank = addslashes(serialize($content));
mysql_query("INSERT INTO blanks3 (blank) VALUES ('$blank')",$id_connect);
Now do one search (using the and option) on "Zealand Sustainability Database" (without the quotes) and then attach to this thread the content from the blanks3 table.