Quote:
Originally Posted by agiacosa
Dean,
I am not getting my question across well.
I have a script that is built using php (index.php). It includes a database config file (db.php) makes selection queries from a database, presents selection options to the user and then displays the result of that query. Basically, it is the user interface for an aquarium plant database for our members. I want to have this interface within vB so that members stay logged in, I can see they are there in WOL, use user permissions and just have the same look of the site.
My understanding is that I can't do this within a template. How else can I do this?
|
Put your custom script in PHP and send it's output to a variable. Do this in the following manner:
PHP Code:
ob_start();
include('yourheader.html');
$your_code = ob_get_contents();
ob_end_clean();
Then place $your_code in the header or footer template.