Well, I'll give you an easy way, but it may not be the best.
Take the code you have to get from boldcenter.com, and open a new PHP document. In it, type this:
<?php
function _boldchat()
{
}
?>
Now, take the pasted code you got from boldcenter.com and put it in between the two squigely brackets ({}). Also, add an echo <<<BoldChat above it, and a "BoldChat;" below it. So your code should look like:
<?php
function _boldchat()
{
echo <<<BoldChat
// Your pasted code here
BoldChat;
}
?>
Now, save that file as "boldchat.php" (without quotes). Now, whenever you need to include that chat as part of your website, just include the file, and call the function.
So, let's say I have index.php:
<?php
echo <<<Header
<html>
<head>
<title>My Index</title>
</head>
<body>
Header;
// Now I'll include the chat script
include('boldchat.php');
// Now I want it to be in the body of the
// website, and there will be nothing else
// on the page, so it's all I need
_boldchat();
echo <<<Footer
</body>
</html>
Footer;
?>
That's one way to do it. Especially if you want to do it over multiple pages.
But basically you should look into using:
echo "";
print "";
HereDoc Syntax (a form of echo/print)
I used the HereDoc Syntax. It's easier than echo and print (for HTML/Java).
Good luck. Any questions, just ask.
~Brett