I'm trying to make a blob with other blobs inside that get their content from a .txt file
Ive tried $this -> bot -> make_blob("Subway", implode("", file("./guides/subway.txt")));
and
"<a href='text://" . implode("", file("./guides/subway.txt")) . "'>Test</a>";
But they just seem to load the text file as the blob name. The complete end section looks like this though:
/*
Makes guides list
*/
function links_list($name)
{
$result="";
$result .= "<font color=CCInfoHeadline><center>Guides</center>";
$result .= "\n";
$result .= "\n";
$result .= "<a href='text://" . implode("", file("./guides/subway.txt")) . "'>Test</a>";
$result .= "\n";
return "I know this " . $this -> bot -> make_blob("knowledge", $result);
}
}
?>
Thanks