Log in

View Full Version : Dynamic Page Title


vonedaddy
01-03-2006, 07:01 PM
I have a database installed that I hold jokes in. Currently it uses the work JOKE as the page title. I would like to use the jokes name as the title.

The following code is what generates the title of the page:
$navbits[$parent] = 'Joke';

What would I have to do to make it display the jokes name in the title bar??

I tried something like this:
$navbits[$parent] = '$jokes['jokename']';

Which I though would work, but it doesnt. Any help would be appreciated.

Anyone please?