Hello just feeling my way too...
I havce an insight and a question...
There are two places in the .php program where you must put the name of your script. If the .php program is calles say "wunderbar.php" then near the top of the program is define('THIS_SCRIPT', 'wunderbar');// note no .php
towards the end of the program you need
eval('print_output("' . fetch_template('wunderbar') . '");');
In my case the template is called wunderbar too so that things work.
My question.
I'd like to know the user name in the program wunderbar.php. I've jsut got it working a little.
I have a post with a link to my-forum/wunderbar.php If I click on the link it executes wunderbar.php. wunderbar.php calls the template script wuinderbar. I need some way to get the username in here.
I'd really like to put some dynamic content into the template script. Or perhaps have two templates, a top and a tail, and I'll put in the dynamic content in wunderbar.php.
John
|