Ok,
I did some experimenting and have made some progress... but I just need a wee bit of help now:
I updated the showthread.php, and added the following to the bottom:
PHP Code:
// get htm file to include at the top of the thread:
ob_start();
require("../fielddoc/1/1.htm");
$fieldnote = ob_get_contents();
ob_end_clean();
eval("dooutput(\"".gettemplate("showthread")."\");");
Then I updated the showthread template to include a reference to:
$fieldnote
just after the $header - this test works great!. however....
I would like the '.htm' file to be dynamic. The name of the .htm file should match the thread id.... so the 'require' command would need to be updated to reference the threadid variable. something like:
require("../fielddoc/1/" $threadid ".htm");
.. as I said I'm really wet behind the ears on this php stuff. What would the correct syntax for that command be? Any suggestions for an on-line guide to basic php?